Unpacker.unpack

Deserializes T object and assigns to object.

Calling fromMsgpack if $(D_KEYWORD class) and $(D_KEYWORD struct) implement fromMsgpack method. fromMsgpack signature is:

void fromMsgpack(ref Unpacker unpacker)

Assumes std.typecons.Tuple or simple struct if $(D_KEYWORD struct) doesn't implement fromMsgpack. Checks length if T is a std.typecons.Tuple or simple struct.

Parameters

object T

the reference of object to assign.

Return Value

Type: Unpacker

self, i.e. for method chaining.

Meta