pack

Serializes args.

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

@trusted
ubyte[]
pack
(
bool withFieldName = false
Args...
)
(
in Args args
)

Parameters

args Args

the contents to serialize.

Return Value

Type: ubyte[]

a serialized data.

Meta