encoding

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddExtEncoder

func AddExtEncoder(f ext.Encoder)

AddExtEncoder adds encoders for extension types.

func Encode

func Encode(v interface{}, asArray bool) (b []byte, err error)

Encode returns the MessagePack-encoded byte array of v.

func RemoveExtEncoder

func RemoveExtEncoder(f ext.Encoder)

RemoveExtEncoder removes encoders for extension types.

Types

This section is empty.

Jump to

Keyboard shortcuts

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