jsonlen

package
v0.0.0-...-d06cbcf Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2020 License: MIT Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compact

func Compact(data []byte) []byte

func Int64

func Int64(d int64) int

Int64 returns the encoded length of d as a JSON Number. Int64(0) == 1, Int64(-50) == 3, Int64(7654321) = 7

func Uint64

func Uint64(d uint64) int

Uint64 returns the encoded length of d as a JSON Number. Uint64(0) == 1, Int64(50) == 2, Int64(7654321) = 7

Types

This section is empty.

Jump to

Keyboard shortcuts

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