encoding

package
v3.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 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(encoder ext.StreamEncoder)

AddExtEncoder adds an encoder for an exact type without replacing an existing encoder.

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(encoder ext.StreamEncoder)

RemoveExtEncoder removes the encoder registered for the encoder's exact type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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