Skip to main content

str_to_array

Function str_to_array 

Source
pub fn str_to_array<const N: usize>(s: &str) -> [u8; N]
Expand description

Convert a &str to a specified-length array.