marshaler

package
v1.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2021 License: LGPL-2.1 Imports: 2 Imported by: 0

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

func (m Multi) MarshalBinary() ([]byte, error)

MarshalBinary marshals all the binary marshalers and concatinates the results.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL