[−][src]Function croaring_sys_mw::array_container_read
pub unsafe extern "C" fn array_container_read(
cardinality: i32,
container: *mut array_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 array_container_size_in_bytes(container). You need to provide the (known) cardinality.