Skip to main content

read_string_unchecked

Function read_string_unchecked 

Source
pub unsafe fn read_string_unchecked(
    data: &[u8],
    offset: usize,
) -> Option<(String, usize)>
Expand description

零拷贝读取字符串(带长度前缀)