Table of Contents

Namespace Mech3DotNet.Exchange

Classes

Deserializer

Mech3ax exchange format deserializer.

ExchangeException

Mech3ax exchange format base exception.

Field<V>

A field of a structure being deserialized.

The field's value can be set. To get the value, call Unwrap, which throws an exception if the value has not been set.

InvalidVariantException

An invalid enum variant type was encountered when deserializing data.

For example, the variant expects a unit type, but a new type was found.

MissingFieldException

A required field was missing when deserializing data.

Options

Serializer and deserializer options.

Reader

A reader of binary exchange data. Driven by a deserializer.

Serializer

Mech3ax exchange format serializer.

TypeMapExtensions
UnknownFieldException

An unknown field was encountered when deserializing data.

UnknownGenericTypeException

The serializer or deserializer does not know how to serialize or deserialize the specified generic type, as no converter for that type is registered.

UnknownVariantException

An unknown enum variant was encountered when deserializing data.

Writer

A writer of binary exchange data. Driven by a serializer.

Structs

TypeConverter

A non-generic/dynamic type converter.

Used for registering generic type conversions with a serializer or deserializer.

TypeConverter<T>

A generic/static type converter.

Used for defining exchange serialization and deserialization of a non-generic C# type.

Enums

EnumType
TypeMap