Function om_decoder_init_data_read

Source
pub unsafe extern "C" fn om_decoder_init_data_read(
    data_read: *mut OmDecoder_dataRead_t,
    index_read: *const OmDecoder_indexRead_t,
)
Expand description

@brief Initializes an om_decoder_data_read_t structure for data reading.

This function sets the initial state of the om_decoder_data_read_t structure, preparing it for subsequent data read operations. It initializes the offset, count, index range, and chunk indices based on the provided index read structure.

@param[out] data_read A pointer to the om_decoder_data_read_t structure that will be initialized. This structure maintains the state for reading data chunks. @param[in] index_read A pointer to the om_decoder_index_read_t structure that contains information about the index range and the initial chunk index to be used for reading.