encoding

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

View Source
const (
	CSizeUint64 = 8 // bytes

)

Variables

This section is empty.

Functions

func BytesToUint64

func BytesToUint64(pBytes [cSizeUint64]byte) uint64

Slice of bytes to uint64 by big endian.

func Deserialize

func Deserialize(pData []byte, pRes interface{}) error

func HexDecode

func HexDecode(pData string) []byte

func HexEncode

func HexEncode(pData []byte) string

func Serialize

func Serialize(pData interface{}) []byte

func Uint64ToBytes

func Uint64ToBytes(pNum uint64) [cSizeUint64]byte

Uint64 to slice of bytes by big endian.

Types

This section is empty.

Jump to

Keyboard shortcuts

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