ZL_Compressor_registerSplitByStructGraph

Function ZL_Compressor_registerSplitByStructGraph 

Source
pub unsafe extern "C" fn ZL_Compressor_registerSplitByStructGraph(
    cgraph: *mut ZL_Compressor,
    fieldSizes: *const usize,
    successors: *const ZL_GraphID,
    nbFields: usize,
) -> ZL_GraphID
Expand description

Split-by-struct This operation splits a serialized input defined as an array of structures of fixed size, by grouping same fields into their own stream. All fields are considered concatenated back-to-back (no alignment). For this transform to work, input must be an exact multiple of struct_size, with struct_size = sum(field_sizes). Each output stream is then assigned a successor Graph.