Categorygithub.com/hobein/msgpack
modulepackage
0.0.0-20230302064654-93276f1dbb6d
Repository: https://github.com/hobein/msgpack.git
Documentation: pkg.go.dev

# README

This library exposes a msgpack api that partially mimics c# System.Text.Json.JsonElement.

Go Reference

# Functions

NewArrayElement creates an array from the given values.
NewBinElement creates a binary element from the given bytes.
NewBoolElement creates a bool element from the given value.
NewExtElement creates an extension element from the given value.
NewFloatElement creates a float element from the given value.
NewIntElement creates an integer element from the given value.
NewNilElement creates a nil element.
NewObjectElement creates an object from the given values.
NewStringElement creates a string element from the given value.
NewUintElement creates an unsigned integer element from the given value.
Unmarshal decodes the MessagePack-encoded data and returns an interface Elementer.
UnmarshalFromDecoder consumes the decoder and returns an interface Elementer.

# Constants

ElementTypeArray array value.
ElementTypeBin binary value.
ElementTypeBool bool value.
ElementTypeExtension extension value.
ElementTypeFloat float value.
ElementTypeInt int value.
ElementTypeNil nil value.
ElementTypeObject object value.
ElementTypeString string value.
ElementTypeUint uint value.

# Structs

No description provided by the author

# Interfaces

ArrayWrapper exposes methods to access the items of an array.
No description provided by the author
ObjectWrapper exposes methods to access the items of an object.

# Type aliases

No description provided by the author