encoding

package module
v1.0.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: AGPL-3.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JSONiter = jsoniter.Config{
	EscapeHTML:              false,
	MarshalFloatWith6Digits: false,
	DisallowUnknownFields:   false,
	OnlyTaggedField:         false,
	ValidateJsonRawMessage:  false,
	CaseSensitive:           true,
	UseNumber:               true,
	SortMapKeys:             false,
}.Froze()

Functions

func GetAsUVarint

func GetAsUVarint(buff *bytes.Reader) uint64

func GetAsVarint

func GetAsVarint(buff *bytes.Reader) int64

func MaybeGetInt64

func MaybeGetInt64(numberish interface{}) (int64, bool)

func PutAsUVarint

func PutAsUVarint(buff *bytes.Buffer, item uint64)

func PutAsVarint

func PutAsVarint(buff *bytes.Buffer, item int64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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