unpack

Deserializes buffer using direct-conversion deserializer.

Assumes single object if the length of args == 1, otherwise array object.

  1. Unpacked unpack(ubyte[] buffer)
  2. void unpack(ubyte[] buffer, Args args)
    @trusted
    void
    unpack
    (
    bool withFieldName = false
    Args...
    )
    (
    in ubyte[] buffer
    ,
    ref Args args
    )
  3. Type unpack(ubyte[] buffer)

Parameters

buffer ubyte[]

the buffer to deserialize.

args Args

the references of values to assign.

Meta