Struct BinarySerializationParams

Struct Documentation

struct BinarySerializationParams

Configuration parameters for binary serialization behavior.

Public Members

bool encode_header = true

Whether to write/read the 4-byte header (magic + version). Default: true.

bool large_element_size = false

Use 64-bit element counts instead of 32-bit. Default: false.

bool pack_elements = false

Pack array elements without writing size metadata.

When true, arrays are written without their element count. Requires external knowledge of array sizes during deserialization. Default: false