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

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.