pub fn parse_slice_as_string(bytes: &[u8]) -> Result<&str, StringError>
Expand description
Parses the provided byte sequence as Multiboot string, which maps to a
[str
].
pub fn parse_slice_as_string(bytes: &[u8]) -> Result<&str, StringError>
Parses the provided byte sequence as Multiboot string, which maps to a
[str
].