pub unsafe extern "C" fn om_decoder_next_index_read(
decoder: *const OmDecoder_t,
index_read: *mut OmDecoder_indexRead_t,
) -> boolExpand description
@brief Determines the next range of chunks to be read and updates the om_decoder_index_read_t structure.
This function calculates the next set of chunk indices that need to be read from the data, based on the
limits set by the maximum I/O size, alignment, and the logical structure of the data. It updates the
om_decoder_index_read_t structure to reflect the new range of chunks and the corresponding read parameters.
@param decoder A pointer to a constant om_decoder_t structure containing information about the data array,
chunk sizes, I/O constraints, and other relevant parameters.
@param index_read A pointer to an om_decoder_index_read_t structure, which will be updated with the next
range of chunks to read and the corresponding offset and size of the read operation.
@returns true if the next read range was successfully computed and updated in index_read.
false if there are no more chunks left to read, indicating that the end of the read range has been reached.