Unpacker.unpackMap

Deserializes the container object and assigns to each argument.

These methods check the length. Do rollback if the length of arguments is different from length of deserialized object.

In unpackMap, the number of arguments must be even.

  1. Unpacker unpackArray(Types objects)
  2. Unpacker unpackMap(Types objects)
    struct Unpacker
    ref
    unpackMap
    (
    Types...
    )
    (
    ref Types objects
    )

Parameters

objects Types

the references of object to assign.

Return Value

Type: Unpacker

self, i.e. for method chaining.

Meta