Crate flexbuffers

Source
Expand description

Flexbuffers is a high performance schemaless binary data format designed at Google. It is complementary to the schema-ed format Flatbuffers. See Flexbuffer Internals for details on the binary format.

See the examples for usage:

This rust implementation is in progress and, until the 1.0 release, breaking API changes may happen between minor versions.

Structs§

  • This struct, when pushed will be serialized as a FlexBufferType::Blob.
  • Use this struct to build a Flexbuffer.
  • Options for sharing data within a flexbuffer.
  • Flexbuffer Serializer. This should be used to serialize structs.
  • This struct, when pushed, will be serialized as a FlexBufferType::IndirectFloat.
  • This struct, when pushed, will be serialized as a FlexBufferType::IndirectInt.
  • This struct, when pushed, will be serialized as a FlexBufferType::IndirectUInt.
  • Builds a Flexbuffer map, returned by a Builder.
  • Allows indexing on a flexbuffer map.
  • Readers allow access to data stored in a Flexbuffer.
  • Iterates over a flexbuffer vector, typed vector, or map. Yields Readers.
  • Builds a Flexbuffer vector, returned by a Builder.
  • Allows indexing on any flexbuffer vector type, (heterogenous vector, typed vector, or fixed length typed vector).

Enums§

Traits§

  • The underlying buffer that is used by a flexbuffer Reader.
  • Types that implement the Pushable trait can be written into a Flexbuffer.

Functions§

  • Deserialize a type from a flexbuffer.
  • Deserialize a type from a flexbuffer.
  • Builds a Flexbuffer with the single pushed value as the root.
  • Serialize as a flexbuffer into a vector.