msgpack-d ~master (2020-05-18T23:28:50Z)
Home
Dub
Repo
MessagePackable.toMsgpack
msgpack
MessagePackable
Serializes members using
packer
.
void
toMsgpack
(Packer packer, bool withFieldName)
mixintemplate
MessagePackable
(Members...)
const
static if
(
Members.length == 0
)
void
toMsgpack
(
Packer
)
(
ref
Packer
packer
,
bool
withFieldName
= false
)
void
toMsgpack
(Packer packer, bool withFieldName)
Parameters
packer
Packer
the serializer to pack.
Meta
Source
See Implementation
msgpack
MessagePackable
functions
fromMsgpack
toMsgpack
Serializes members using packer.