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

Function readInt16

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

Source from the content-addressed store, hash-verified

472}
473
474func readInt16(b []byte) int16 {
475 return int16(binary.BigEndian.Uint16(b))
476}
477
478func readInt32(b []byte) int32 {
479 return int32(binary.BigEndian.Uint32(b))

Callers 2

readInt16Method · 0.70
ReadControlRecordFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected