Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bitfield ¶
type Bitfield []byte
bits are indexed from left to right of internal byte array (like a little endian integer). But inside byte it is from right to left. //TODO: correct?
func (Bitfield) VerifySize ¶
Verify bitfield against the size:
- the bitfield must have the correct amount of bytes
- bits after this size (in bits) must be 0.
Click to show internal directories.
Click to hide internal directories.