MCPcopy Create free account
hub / github.com/dotabuff/manta / readBoolean

Method readBoolean

reader.go:244–246  ·  view source on GitHub ↗

readBoolean reads and interprets single bit as true or false

()

Source from the content-addressed store, hash-verified

242
243// readBoolean reads and interprets single bit as true or false
244func (r *reader) readBoolean() bool {
245 return r.readBits(1) == 1
246}
247
248// readFloat reads an IEEE 754 float
249func (r *reader) readFloat() float32 {

Callers 9

readUBitVarFPMethod · 0.95
readCoordMethod · 0.95
readNormalMethod · 0.95
read3BitNormalMethod · 0.95
field_path.goFile · 0.80
decodeMethod · 0.80
booleanDecoderFunction · 0.80
qangleFactoryFunction · 0.80
parseStringTableFunction · 0.80

Calls 1

readBitsMethod · 0.95

Tested by

no test coverage detected