marshaler

package
v0.0.0-...-579017f Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: LGPL-3.0 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