encoding

package
v1.28.4 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 3 Imported by: 4 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeFloat

func EncodeFloat(dst []byte, v float64, bits int) []byte

EncodeFloat encodes a float value as per the stdlib encoder for json and xml protocol This encodes a float value into dst while attempting to conform to ES6 ToString for Numbers

Based on encoding/json floatEncoder from the Go Standard Library https://golang.org/src/encoding/json/encode.go

Types

This section is empty.

Directories

Path Synopsis
Package cbor implements partial encoding/decoding of concise binary object representation (CBOR) described in [RFC 8949].
Package cbor implements partial encoding/decoding of concise binary object representation (CBOR) described in [RFC 8949].
Package xml holds the XMl encoder utility.
Package xml holds the XMl encoder utility.

Jump to

Keyboard shortcuts

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