Function croaring_sys::roaring_bitmap_frozen_serialize

source ยท
pub unsafe extern "C" fn roaring_bitmap_frozen_serialize(
    r: *const roaring_bitmap_t,
    buf: *mut c_char,
)
Expand description

Serializes bitmap using frozen format. Buffer size must be at least roaring_bitmap_frozen_size_in_bytes().

This function is endian-sensitive. If you have a big-endian system (e.g., a mainframe IBM s390x), the data format is going to be big-endian and not compatible with little-endian systems.

When serializing data to a file, we recommend that you also use checksums so that, at deserialization, you can be confident that you are recovering the correct data.