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

Function makeInt32

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

Source from the content-addressed store, hash-verified

199}
200
201func makeInt32(b []byte) int32 {
202 return int32(binary.BigEndian.Uint32(b))
203}
204
205func makeInt64(b []byte) int64 {
206 return int64(binary.BigEndian.Uint64(b))

Callers 2

peekResponseSizeAndIDMethod · 0.85
readInt32Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected