Module p25::bits
[−]
[src]
Dibits, tribits, and hexbits.
Structs
| Dibit |
Two bits. |
| DibitByteParams |
Parameters for |
| DibitParams |
Parameters for |
| Hexbit |
Six bits. |
| HexbitByteParams |
Parameters for |
| HexbitParams |
Parameters for |
| SubByteIter |
An iterator for sub-byte (bit-level) values. |
| Tribit |
Three bits. |
| TribitByteParams |
Parameters for |
| TribitParams |
Parameters for |
Traits
| IterParams |
Type Definitions
| DibitBytes |
Groups dibits into full bytes. The source must be a multiple of 4 dibits. |
| Dibits |
Iterate over the 2-bit symbols of a byte source, MSB to LSB. |
| HexbitBytes |
Groups hexbits into full bytes. The source must be a multiple of 6 hexbits. |
| Hexbits |
Iterates over the 6-bit symbols of a byte source, MSB to LSB. The source must be a multiple of 3 bytes. |
| TribitBytes |
Groups tribits into full bytes. The source must be a multiple of 8 tribits. |
| Tribits |
Iterates over the 3-bit symbols of a byte source, MSB to LSB. The source must be a multiple of 3 bytes. |