CoreHexUint

package
v5.2.20 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesCombine

func BytesCombine(pBytes ...[]byte) []byte

合并多个[]byte

func BytesToInt

func BytesToInt(bys []byte) (dataInt int, err error)

func BytesToInt64

func BytesToInt64(buf []byte) int64

func BytesToUint16

func BytesToUint16(array []byte) uint16

[]byte转16进制

func Int64ToBytes

func Int64ToBytes(i int64) []byte

func IntToBytes

func IntToBytes(n int) (dataByte []byte, err error)

func Uint16ToBytes

func Uint16ToBytes(n uint16) []byte

16进制转[]byte

func Uint32ToBytes

func Uint32ToBytes(n uint32) []byte

32进制转[]byte

func Uint64ToBytes

func Uint64ToBytes(n uint64) []byte

64进制转[]byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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