pub fn get_str(payload: &[u8], off: usize, len: usize) -> Option<&str>
Decode a UTF-8 string of len bytes from payload[off..].
len
payload[off..]
Returns None if out of bounds or invalid UTF-8.
None