numberenc

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalBool

func MarshalBool(dst []byte, b bool) []byte

func MarshalFloat64

func MarshalFloat64(dst []byte, f float64) []byte

func MarshalInt64Append

func MarshalInt64Append(dst []byte, v int64) []byte

MarshalInt64Append appends marshaled v to dst and returns the result.

func MarshalInt64SliceAppend added in v1.1.0

func MarshalInt64SliceAppend(dst []byte, us []int64) []byte

MarshalInt64SliceAppend appends marshaled v to dst and returns the result.

func MarshalUint16Append

func MarshalUint16Append(dst []byte, u uint16) []byte

MarshalUint16Append appends marshaled v to dst and returns the result.

func MarshalUint32Append

func MarshalUint32Append(dst []byte, u uint32) []byte

MarshalUint32Append appends marshaled v to dst and returns the result.

func MarshalUint32Copy

func MarshalUint32Copy(dst []byte, u uint32)

func MarshalUint32SliceAppend added in v1.1.0

func MarshalUint32SliceAppend(dst []byte, us []uint32) []byte

MarshalUint32SliceAppend appends marshaled v to dst and returns the result.

func MarshalUint64Append

func MarshalUint64Append(dst []byte, u uint64) []byte

MarshalUint64Append appends marshaled v to dst and returns the result.

func MarshalUint64SliceAppend added in v1.1.0

func MarshalUint64SliceAppend(dst []byte, us []uint64) []byte

MarshalUint64SliceAppend appends marshaled v to dst and returns the result.

func UnmarshalBool

func UnmarshalBool(b byte) bool

func UnmarshalFloat64

func UnmarshalFloat64(src []byte) float64

func UnmarshalInt64

func UnmarshalInt64(src []byte) int64

UnmarshalInt64 returns unmarshalled int64 from src.

func UnmarshalInt64Slice2Bytes added in v1.1.0

func UnmarshalInt64Slice2Bytes(src []byte, dst []byte) []byte

UnmarshalInt64Slice2Bytes returns unmarshalled []byte from src.

func UnmarshalUint16

func UnmarshalUint16(src []byte) uint16

UnmarshalUint16 returns unmarshalled uint32 from src.

func UnmarshalUint32

func UnmarshalUint32(src []byte) uint32

UnmarshalUint32 returns unmarshalled uint32 from src.

func UnmarshalUint32Slice added in v1.1.0

func UnmarshalUint32Slice(src []byte, dst []uint32) []uint32

UnmarshalUint32Slice returns unmarshalled []uint32 from src.

func UnmarshalUint64

func UnmarshalUint64(src []byte) uint64

UnmarshalUint64 returns unmarshalled uint64 from src.

Types

This section is empty.

Jump to

Keyboard shortcuts

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