decoding

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 AddExtDecoder

func AddExtDecoder(f ext.Decoder)

AddExtDecoder adds decoders for extension types.

func Decode

func Decode(data []byte, v interface{}, asArray bool) error

Decode analyzes the MessagePack-encoded data and stores the result into the pointer of v.

func RemoveExtDecoder

func RemoveExtDecoder(f ext.Decoder)

RemoveExtDecoder removes decoders for extension types.

Types

This section is empty.

Source Files

  • bin.go
  • bool.go
  • complex.go
  • decoding.go
  • ext.go
  • float.go
  • int.go
  • interface.go
  • map.go
  • nil.go
  • read.go
  • slice.go
  • string.go
  • struct.go
  • uint.go

Jump to

Keyboard shortcuts

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