encoding

package
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 9 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