MessagePackable.toMsgpack

Serializes members using packer.

  1. void toMsgpack(Packer packer, bool withFieldName)
    mixintemplate MessagePackable(Members...)
    const
    static if(Members.length == 0)
    void
    toMsgpack
    (
    Packer
    )
    (
    ref Packer packer
    ,
    bool withFieldName = false
    )
  2. void toMsgpack(Packer packer, bool withFieldName)

Parameters

packer Packer

the serializer to pack.

Meta