unpack

Deserializes buffer using direct-conversion deserializer.

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

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

Parameters

buffer
Type: ubyte[]

the buffer to deserialize.

args
Type: Args

the references of values to assign.

Meta