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

Function readInt64

read.go:37–39  ·  view source on GitHub ↗
(r *bufio.Reader, sz int, v *int64)

Source from the content-addressed store, hash-verified

35}
36
37func readInt64(r *bufio.Reader, sz int, v *int64) (int, error) {
38 return peekRead(r, sz, 8, func(b []byte) { *v = makeInt64(b) })
39}
40
41func readVarInt(r *bufio.Reader, sz int, v *int64) (remain int, err error) {
42 // Optimistically assume that most of the time, there will be data buffered

Callers 7

readInt64Method · 0.70
extractOffsetFunction · 0.70
readFromMethod · 0.70
readFromMethod · 0.70
readFunction · 0.70
readFromMethod · 0.70
readFromMethod · 0.70

Calls 2

peekReadFunction · 0.85
makeInt64Function · 0.85

Tested by

no test coverage detected