Function from_partial_bytes_with_opt

Source
pub fn from_partial_bytes_with_opt<'a, T>(
    de: BytesDeserializer<'a>,
) -> Result<T>
where T: Deserialize<'a>,
Expand description

Parse binary data as the type specified in the partial generics with custom BytesDeserializer settings.

e.g. one class, 3 booleans, [u32; 10],

§Errors

Fail to parse bytes.

§Note

If pointer types are included, it is impossible to deserialize correctly because fixups information is required.