Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
45
func
(r *binaryReader) ReadBool() (bool, error) {
46
v, err := r.ReadByte()
47
return
v != 0, err
48
}
49
50
func
(r *binaryReader) ReadInt8() (int8, error) {
51
b, err := r.ReadByte()
Callers
nothing calls this directly
Calls
1
ReadByte
Method · 0.95
Tested by
no test coverage detected