BitsU16¶
Read or write an unsigned integer of a specified bit width (1–16 bits),
returning a U16. Bits are read big-endian.
Implements¶
Constructors¶
create¶
Parameters¶
- count: U8 val
Returns¶
- BitsU16 val^
Public Functions¶
decode¶
Parameters¶
Returns¶
- ((U16 val , USize val) | DecodeError)
encode¶
Parameters¶
- value: U16 val
Returns¶
- (Array[U8 val] val | EncodeError)