[−][src]Function croaring_sys::ra_portable_deserialize_size
pub unsafe extern "C" fn ra_portable_deserialize_size(
buf: *const c_char,
maxbytes: size_t
) -> size_t
Quickly checks whether there is a serialized bitmap at the pointer, not exceeding size "maxbytes" in bytes. This function does not allocate memory dynamically.
This function returns 0 if and only if no valid bitmap is found. Otherwise, it returns how many bytes are occupied by the bitmap data.