ZL_Compressor_registerSplitGraph

Function ZL_Compressor_registerSplitGraph 

Source
pub unsafe extern "C" fn ZL_Compressor_registerSplitGraph(
    cgraph: *mut ZL_Compressor,
    type_: ZL_Type,
    segmentSizes: *const usize,
    successors: *const ZL_GraphID,
    nbSegments: usize,
) -> ZL_GraphID
Expand description

Split-by-param This operation splits a serialized input into segments, defined by array @segmentSizes[]. The nb of segments and their size is static, except for the last segment size, which can receive a size value 0, meaning “whatever is left in the stream”. Each segment is then into its own output, and then sent to the next processing stage defined by @successors[].