Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Multi ¶
type Multi []encoding.BinaryMarshaler
Multi defines a binary marshaler that marshals all child marshalers and concatinate the results.
func NewMulti ¶
func NewMulti(marshalers ...encoding.BinaryMarshaler) Multi
NewMulti returns a new instance of MultiBinaryMarshaler.
func (Multi) MarshalBinary ¶
MarshalBinary marshals all the binary marshalers and concatinates the results.
Click to show internal directories.
Click to hide internal directories.