Function croaring_sys::bitset_container_write [] [src]

pub unsafe extern "C" fn bitset_container_write(
    container: *const bitset_container_t,
    buf: *mut c_char
) -> i32

Writes the underlying array to buf, outputs how many bytes were written. This is meant to be byte-by-byte compatible with the Java and Go versions of Roaring. The number of bytes written should be bitset_container_size_in_bytes(container).