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
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