Help us shape the future of Go! Take the 2026 Go Developer Survey

encoding

package
v2.4.4 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 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.StreamEncoder)

AddExtEncoder adds encoders for extension types.

func Encode

func Encode(w io.Writer, v any, asArray bool) error

Encode writes MessagePack-encoded byte array of v to writer.

func RemoveExtEncoder

func RemoveExtEncoder(f ext.StreamEncoder)

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