pub fn decode_ref<'a>(
bytes: &'a [u8],
arena: &'a Bump,
) -> Result<ValueRef<'a>, DecodeError>Expand description
Reads the binary form borrowed: every string points into bytes,
lists and maps go in arena — nothing is copied.
§Errors
DecodeError when the bytes aren’t the binary form.