MsgpackSerializer

Msgpack serialization back-end

struct MsgpackSerializer (
Appender
) {}

Constructors

this
this(Appender* app)
Undocumented in source.

Members

Aliases

listBegin
alias listBegin = aggrBegin!"beginArray"
listEnd
alias listEnd = aggrEnd!"beginArray"
sexpBegin
alias sexpBegin = listBegin
sexpElemBegin
alias sexpElemBegin = elemBegin
sexpEnd
alias sexpEnd = listEnd
structBegin
alias structBegin = aggrBegin!"beginMap"
structEnd
alias structEnd = aggrEnd!"beginMap"

Functions

aggrBegin
size_t aggrBegin(size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
aggrEnd
void aggrEnd(size_t state)
Undocumented in source. Be warned that the author may not have intended to support it.
annotationWrapperBegin
size_t annotationWrapperBegin()
annotationWrapperEnd
void annotationWrapperEnd(size_t , size_t state)
annotationsEnd
auto annotationsEnd(size_t state)
elemBegin
void elemBegin()
nextTopLevelValue
void nextTopLevelValue()
putAnnotation
void putAnnotation(const(char)[] annotation)
putKey
void putKey(char[] key)
putNull
void putNull(IonTypeCode code)
putStringPart
void putStringPart(const(char)[] str)

Puts string part. The implementation allows to split string unicode points.

putSymbol
void putSymbol(char[] symbol)
putValue
void putValue(ubyte num)
Undocumented in source. Be warned that the author may not have intended to support it.
putValue
void putValue(ushort num)
Undocumented in source. Be warned that the author may not have intended to support it.
putValue
void putValue(uint num)
Undocumented in source. Be warned that the author may not have intended to support it.
putValue
void putValue(ulong num)
Undocumented in source. Be warned that the author may not have intended to support it.
putValue
void putValue(byte num)
Undocumented in source. Be warned that the author may not have intended to support it.
putValue
void putValue(short num)
Undocumented in source. Be warned that the author may not have intended to support it.
putValue
void putValue(int num)
Undocumented in source. Be warned that the author may not have intended to support it.
putValue
void putValue(long num)
Undocumented in source. Be warned that the author may not have intended to support it.
putValue
void putValue(float num)
Undocumented in source. Be warned that the author may not have intended to support it.
putValue
void putValue(double num)
Undocumented in source. Be warned that the author may not have intended to support it.
putValue
void putValue(real num)
Undocumented in source. Be warned that the author may not have intended to support it.
putValue
void putValue(BigInt!size num)
putValue
void putValue(Decimal!size num)
putValue
void putValue(typeof(null) )
putValue
void putValue(bool b)
putValue
void putValue(const(char)[] value)
putValue
void putValue(Clob value)
putValue
void putValue(Blob value)
putValue
void putValue(Timestamp value)
stringBegin
size_t stringBegin()
stringEnd
void stringEnd(size_t state)

Variables

buffer
Appender* buffer;
Undocumented in source.
lengths
ScopedBuffer!(uint, 128) lengths;
Undocumented in source.
serdeTarget
int serdeTarget;

Mutable value used to choose format specidied or user-defined serialization specializations

strBuf
ScopedBuffer!(char, 128) strBuf;
Undocumented in source.

Meta