pub fn first_element_payload(key: &[u8]) -> Option<Vec<u8>>Expand description
Decode the leading BYTES or STRING element of key (up to its
terminator) and return the unescaped payload (owned); the bytes after
the terminator are ignored. None on a bad code byte or an
unterminated payload.