iohelper

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockCopy

func BlockCopy(src []byte, srcOffset int, dst []byte, dstOffset, count int) (bool, error)

数组拷贝

func Byte2Bits

func Byte2Bits(data byte) []byte

单个byte数组转bitarray

func Bytes2Bits

func Bytes2Bits(data []byte) []byte

byte[]数组转bitarray

func GetHex

func GetHex(data []byte) string

获取数据HEX字符串大写

func GetUint16

func GetUint16(data []byte) uint16

转为uint16

func GetUint32

func GetUint32(data []byte) uint32

转为uint32

func GetUint8

func GetUint8(data []byte) uint8

转为uint8

func ReversByte

func ReversByte(src []byte) []byte

反转数组

Types

This section is empty.

Jump to

Keyboard shortcuts

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