[go: up one dir, main page]

u8_bit_split_4x2

Function u8_bit_split_4x2 

Source
pub const fn u8_bit_split_4x2(byte: u8) -> [u8; 2]
Expand description

Splits a byte into 4-bit chunks.

Bit 0 of the input will be in the first element of the output.