[][src]Function croaring_sys_mw::run_container_read

pub unsafe extern "C" fn run_container_read(
    cardinality: i32,
    container: *mut run_container_t,
    buf: *const c_char
) -> i32

Reads the instance from buf, outputs how many bytes were read. This is meant to be byte-by-byte compatible with the Java and Go versions of Roaring. The number of bytes read should be bitset_container_size_in_bytes(container). The cardinality parameter is provided for consistency with other containers, but it might be effectively ignored..