MCPcopy
hub / github.com/segmentio/kafka-go / makeInt64

Function makeInt64

protocol.go:205–207  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

203}
204
205func makeInt64(b []byte) int64 {
206 return int64(binary.BigEndian.Uint64(b))
207}
208
209func expectZeroSize(sz int, err error) error {
210 if err == nil && sz != 0 {

Callers 1

readInt64Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected