serialize

Serialize a D struct, class or array to a message buffer.

Members

Functions

serializeInt
void serializeInt(T val, OutBuffer buf)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeValue
auto serializeValue(T val, OutBuffer buf, void delegate(const ref C val, OutBuffer buf) cb)
Undocumented in source. Be warned that the author may not have intended to support it.
toMsgBuffer
auto toMsgBuffer(T val)

Serialize top-level, either array, associative array or struct. For aggregate types like structs, serialize each member.

toMsgBuffer
auto toMsgBuffer(T val, OutBuffer buf)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta