DecoderState
Mutable bit-level cursor over a flat-encoded byte array. Mirrors EncoderState: bits are read most-significant first within each byte.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Decode up to 8 bits
Decode up to 8 bits
Value parameters
- numBits
-
the Int of bits to decode [0..8]
Attributes
The cursor and the bytes around it. Every decoding error carries this string, so it shows at most 8 bytes on each side of the cursor, not a whole script.
The cursor and the bytes around it. Every decoding error carries this string, so it shows at most 8 bytes on each side of the cursor, not a whole script.
Attributes
- Definition Classes
-
Any
Concrete fields
Pointer to the current byte being decoded [0..buffer.byteLength)
Pointer to the current byte being decoded [0..buffer.byteLength)
Attributes
Number of already decoded bits in the current byte [0..7]
Number of already decoded bits in the current byte [0..7]