Skip to main content

classify_bytes

Function classify_bytes 

Source
pub unsafe fn classify_bytes(input: &[u8]) -> Vec<u8> 
Expand description

Classify each byte in input into a category bitmask.

Returns a Vec<u8> of the same length as input, where each element is one of the constants from crate::class.

§Safety

This function is safe. The unsafe fn signature matches the SIMD dispatch slot.