Function get_4bit_hex_channels

Source
const fn get_4bit_hex_channels(
    hex_str: &str,
) -> Result<(usize, [u8; 8]), ParseError>
Expand description

Parse 4-bit color channels from a hex-encoded string.

Returns the parsed channels and the byte offset to the remainder of the string (i.e., the number of hex characters parsed).