pub fn first_bytes_element(key: &[u8]) -> Option<&[u8]>Expand description
Decode the first element of a key and return its payload, without requiring the rest to be well-formed.
Used by the node-region “does an existing node contain this key”
probe, where only the leading element (the node’s allocated prefix)
matters. The element must be BYTES or STRING; a key starting with any
other element (an integer, a nested tuple) has no leading byte-string
and returns None.