Skip to main content

Module nibble

Module nibble 

Source
Expand description

A very simple u4/nibble implementation.

Structs§

U4
Represents an unsigned 4-bit value (nibble) encoded as a byte.

Functions§

combine
Combines two nibbles to a byte, with a being set to the 4 leftmost and b being set to the 4 rightmost bits.