[go: up one dir, main page]

Function bitfrob::u8_bit_split_1x8

source ·
pub const fn u8_bit_split_1x8(byte: u8) -> [u8; 8]
Expand description

Splits a byte into 1-bit chunks.

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