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

Method readBool

protocol/decode.go:192–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190}
191
192func (d *decoder) readBool() bool {
193 return d.readByte() != 0
194}
195
196func (d *decoder) readInt8() int8 {
197 if d.readFull(d.buffer[:1]) {

Callers 1

decodeBoolMethod · 0.95

Calls 1

readByteMethod · 0.95

Tested by

no test coverage detected