Skip to main content

decode_revised_element

Function decode_revised_element 

Source
pub fn decode_revised_element<'a>(
    elem: &'a [u8],
    ctx: &FormatContext,
) -> FormatResult<RevisedElement<'a>>
Expand description

Split a 1.12 reference element into its kind and the encoded reference.

The element’s type byte is the authority on the kind, not the datatype message: libhdf5 stores every H5T_STD_REF as H5R_OBJECT2 and lets each element say what it actually holds.