factom: github.com/Factom-Asset-Tokens/factom/jsonlen Index | Files

package jsonlen

import "github.com/Factom-Asset-Tokens/factom/jsonlen"

Index

Package Files

compact.go number.go

func Compact Uses

func Compact(data []byte) []byte

func Int64 Uses

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 Uses

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

Package jsonlen imports 3 packages (graph) and is imported by 9 packages. Updated 2020-01-02. Refresh now. Tools for package owners.