[][src]Function croaring_sys_mw::bitset_container_read

pub unsafe extern "C" fn bitset_container_read(
    cardinality: i32,
    container: *mut bitset_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). You need to provide the (known) cardinality.