Skip to main content

read_str

Function read_str 

Source
pub fn read_str(buf: &[u8], offset: usize) -> Option<&str>
Expand description

Read a string slice from the value at offset. Zero-copy — borrows directly from the input buffer. Returns None for non-string types or invalid UTF-8.