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

Function readInt32

protocol/decode.go:478–480  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

476}
477
478func readInt32(b []byte) int32 {
479 return int32(binary.BigEndian.Uint32(b))
480}
481
482func readInt64(b []byte) int64 {
483 return int64(binary.BigEndian.Uint64(b))

Callers 1

readInt32Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected