pub(crate) fn encoded_len(bytes: &[u8]) -> Result<Length>
Get the encoded length for the given unsigned integer serialized as bytes.