Skip to main content

read_str

Function read_str 

Source
pub fn read_str(buf: &[u8], slot: u64) -> Result<&str>
Expand description

Follow a u32 offset slot at slot to a length-prefixed UTF-8 string.