gidl_util

Function decode_value

Source
pub fn decode_value<T: TypeMarker>(
    context: Context,
    bytes: &[u8],
    handles: &mut [HandleInfo],
) -> T::Owned
Expand description

Decodes T from the given bytes and handles. Panics on failure.