Serde

A (de)serializer.

Constructors

this
this()

Constructs a Serde object.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

beginComplexContext
SerdeContext beginComplexContext()

Begins a complex serialization context.

deserialize
void deserialize(T item)

The public deserialization interface.

deserializeFloat
double deserializeFloat(ubyte bytes)

A serialization function which serializes a floating point number. (max 64-bit)

deserializeInt
long deserializeInt(ubyte bytes)

A serialization function which serializes a signed integer. (max 64-bit)

deserializeString
nstring deserializeString()

A deserialization function which deserializes a string.

deserializeUInt
ulong deserializeUInt(ubyte bytes)

A serialization function which serializes an unsigned integer. (max 64-bit)

endComplexContext
void endComplexContext(SerdeContext ctx)

Ends a complex serde context.

onInit
SerdeContext onInit()

Called when the serialization context is initialized.

serialize
void serialize(T item)

The public serialization interface.

serializeFloat
void serializeFloat(double value, ubyte bytes)

A serialization function which serializes a floating point number. (max 64-bit)

serializeInt
void serializeInt(long value, ubyte bytes)

A serialization function which serializes a signed integer. (max 64-bit)

serializeString
void serializeString(string value)

A serialization function which serializes a string.

serializeUInt
void serializeUInt(ulong value, ubyte bytes)

A serialization function which serializes an unsigned integer. (max 64-bit)

Properties

format
string format [@property getter]

The name of the format that the (de)serializer supports.

Meta