Skip to main content

decode_data_object_frame

Function decode_data_object_frame 

Source
pub fn decode_data_object_frame(
    buf: &[u8],
) -> Result<(DataObjectDescriptor, &[u8], usize), TensogramError>
Expand description

Decode a data object frame, returning the descriptor and payload slice.

buf must start at the frame header.