Crate binary_data_schema[][src]

Implementation of the binary data schema

Structs

ArraySchema

The array schema to describe arrays of homogeneous elements.

Bitfield

A schema referencing some bits within a chunk of bytes.

BooleanSchema

The Boolean schema describes a Boolean value.

Integer
JoinedBitfield

A set of bitfields that all write to the same bytes.

ObjectSchema

The object schema to describe structured data.

Property
RawDataSchema

Raw data schema to catch constant values.

StringSchema

The string schema to describe string values.

Enums

ByteOrder
DataSchema
EncodingError
Error

Errors from binary serialization.

IntegerSchema

An integer schema. May refer to a bitfield.

NumberSchema

The number schema describes a numeric value.

PropertySchema
StringEncoding

The string schema to describe string values.

Constants

DEFAULT_CHAR
DEFAULT_END
DEFAULT_LENGTH

Traits

Decoder

A schema to de-serialize a value from bytes.

Encoder

A schema to serialize a value to bytes.

Type Definitions

Result