pub unsafe extern "C" fn roaring_uint32_iterator_read(
it: *mut roaring_uint32_iterator_t,
buf: *mut u32,
count: u32,
) -> u32Expand description
Reads next ${count} values from iterator into user-supplied ${buf}. Returns the number of read elements. This number can be smaller than ${count}, which means that iterator is drained.
This function satisfies semantics of iteration and can be used together with other iterator functions.
- first value is copied from ${it}->current_value
- after function returns, iterator is positioned at the next element