roaring_bitmap_portable_serialize

write a bitmap to a char buffer. The output buffer should refer to at least roaring_bitmap_portable_size_in_bytes(ra) bytes of allocated memory. This is meant to be compatible with the Java and Go versions. Returns how many bytes were written which should be roaring_bitmap_portable_size_in_bytes(ra). See format specification at https://github.com/RoaringBitmap/RoaringFormatSpec

extern (C)
size_t
roaring_bitmap_portable_serialize
(
const roaring_bitmap_t* ra
,
char* buf
)

Meta