pub unsafe extern "C" fn roaring_bitmap_portable_deserialize_safe(
    buf: *const c_char,
    maxbytes: usize
) -> *mut roaring_bitmap_t
Expand description

Read bitmap from a serialized buffer safely (reading up to maxbytes). In case of failure, NULL is returned.

This is meant to be compatible with the Java and Go versions: https://github.com/RoaringBitmap/RoaringFormatSpec