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

read a bitmap from a serialized version in a safe manner (reading up to maxbytes). This is meant to be compatible with the Java and Go versions. See format specification at https://github.com/RoaringBitmap/RoaringFormatSpec In case of failure, a null pointer is returned.