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: 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