Skip to main content

rc_bytes_to_str

Function rc_bytes_to_str 

Source
pub fn rc_bytes_to_str(bytes: Rc<[u8]>) -> Result<Rc<str>, Rc<[u8]>>
Expand description

view shared ascii / utf-8 bytes as a string without copy