encoding

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 4

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