MCPcopy Create free account
hub / github.com/segmentio/encoding / ReadBool

Method ReadBool

thrift/binary.go:45–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45func (r *binaryReader) ReadBool() (bool, error) {
46 v, err := r.ReadByte()
47 return v != 0, err
48}
49
50func (r *binaryReader) ReadInt8() (int8, error) {
51 b, err := r.ReadByte()

Callers

nothing calls this directly

Calls 1

ReadByteMethod · 0.95

Tested by

no test coverage detected