sglang_v0.5.2/pytorch_2.8.0/third_party/flatbuffers/rust/flexbuffers
hailin c8e8c1e9ff . 2025-09-20 16:09:34 +08:00
..
src . 2025-09-20 16:09:34 +08:00
.gitignore . 2025-09-20 16:09:34 +08:00
Cargo.toml . 2025-09-20 16:09:34 +08:00
README.md . 2025-09-20 16:09:34 +08:00

README.md

Flexbuffers

Flexbuffers is a schema-less binary format developed at Google. FlexBuffers can be accessed without parsing, copying, or allocation. This is a huge win for efficiency, memory friendly-ness, and allows for unique use cases such as mmap-ing large amounts of free-form data.

FlexBuffers' design and implementation allows for a very compact encoding, with automatic sizing of containers to their smallest possible representation (8/16/32/64 bits). Many values and offsets can be encoded in just 8 bits.

FlexBuffers supports Serde for automatically serializing Rust data structures into its binary format.

See Examples for Usage:

Flexbuffers is the schema-less cousin of Flatbuffers.