MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / Get

Method Get

protocol/net/io/encoding/encoding.go:178–180  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

176type FixedBitSet []byte
177
178func (set FixedBitSet) Get(i int) bool {
179 return (set[i/8] & (1 << (i % 8))) != 0
180}
181
182func (set FixedBitSet) Set(i int) {
183 set[i/8] |= 1 << (i % 8)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected