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

Method readInt32

protocol/decode.go:210–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

208}
209
210func (d *decoder) readInt32() int32 {
211 if d.readFull(d.buffer[:4]) {
212 return readInt32(d.buffer[:4])
213 }
214 return 0
215}
216
217func (d *decoder) readInt64() int64 {
218 if d.readFull(d.buffer[:8]) {

Callers 8

readMessageFunction · 0.95
ReadRequestFunction · 0.95
decodeInt32Method · 0.95
decodeArrayMethod · 0.95
readBytesMethod · 0.95
readFromVersion2Method · 0.95
ReadResponseFunction · 0.95
ReadFromMethod · 0.45

Calls 2

readFullMethod · 0.95
readInt32Function · 0.70

Tested by

no test coverage detected