Crate kiwi_schema [] [src]

This is a Rust library with some helper routines for parsing files in the Kiwi serialization format. Note that it's currently incomplete. See https://github.com/evanw/kiwi for documentation about the format.

Structs

BinarySchema

Holds the parsed contents of an encoded Kiwi schema.

ByteBuffer

A Kiwi byte buffer meant for reading.

ByteBufferMut

A Kiwi byte buffer meant for writing.

Def

Represents a single definition in a BinarySchema. Kiwi enums, structs, and messages are all represented using this object.

Field

Represents a single field in a Def.

Enums

DefKind

Constants

DEF_ENUM
DEF_MESSAGE
DEF_STRUCT
TYPE_BOOL
TYPE_BYTE
TYPE_FLOAT
TYPE_INT
TYPE_STRING
TYPE_UINT