Skip to main content

first_bytes

Function first_bytes 

Source
pub fn first_bytes<const N: usize>(sym: SymStr) -> Option<[u8; N]>
Expand description

The first N bytes of sym’s text, if it has as many, for a test by name on a hot path.