roaring_bitmap_deserialize

Function roaring_bitmap_deserialize 

Source
pub unsafe extern "C" fn roaring_bitmap_deserialize(
    buf: *const c_void,
) -> *mut roaring_bitmap_t
Expand description

Use with roaring_bitmap_serialize().

(See roaring_bitmap_portable_deserialize() if you want a format that’s compatible with Java and Go implementations).

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.

The returned pointer may be NULL in case of errors.