Unpacker

Undocumented in source.

Constructors

this
this(Stream stream)
Undocumented in source.

Members

Aliases

beginArray
alias beginArray = begin!(0x90, 0x9f)
beginMap
alias beginMap = begin!(0x80, 0x8f, Format.MAP16)

Deserializes the type-information of container.

beginRaw
alias beginRaw = begin!()
Undocumented in source.

Functions

begin
size_t begin()
Undocumented in source. Be warned that the author may not have intended to support it.
canRead
bool canRead(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
check
void check(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
check
void check(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
checkNil
bool checkNil()
Undocumented in source. Be warned that the author may not have intended to support it.
load
T load(ubyte[] buf)
Undocumented in source. Be warned that the author may not have intended to support it.
read
ubyte read()
Undocumented in source. Be warned that the author may not have intended to support it.
read
auto read(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
rollback
void rollback(size_t size, string expected, Format actual)
Undocumented in source. Be warned that the author may not have intended to support it.
rollback
void rollback(size_t size, string expected, Format actual)
Undocumented in source. Be warned that the author may not have intended to support it.
unpack
T unpack()
Undocumented in source. Be warned that the author may not have intended to support it.
unpack
T unpack(T defValue)
Undocumented in source. Be warned that the author may not have intended to support it.
unpack
typeof(this) unpack(Types objects)

ditto

unpack
T unpack()
Undocumented in source. Be warned that the author may not have intended to support it.
unpack
bool unpack(T array)
Undocumented in source. Be warned that the author may not have intended to support it.
unpack
T unpack()

ditto

unpack
T unpack()
Undocumented in source. Be warned that the author may not have intended to support it.
unpackAA
bool unpackAA(K[V] array)

Deserializes the container object and assigns to each argument.

unpackArray
bool unpackArray(Types objects)

Deserializes the container object and assigns to each argument.

unpackExt
bool unpackExt(byte type, T data)

Unpacks an EXT value into type and data.

unpackMap
bool unpackMap(Types objects)

Deserializes the container object and assigns to each argument.

unpackNil
bool unpackNil(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
unpackObj
bool unpackObj(T obj)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

buf
Stream buf;
Undocumented in source.
pos
size_t pos;
Undocumented in source.

Meta