bin

package
v4.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsciiToBool

func AsciiToBool(buf []byte) []byte

AsciiToBool 编码

func BoolToAscii

func BoolToAscii(buf []byte) []byte

BoolToAscii 编码

func BoolToByte

func BoolToByte(buf []bool) []byte

BoolToByte 编码

func ByteToBool

func ByteToBool(buf []byte) []bool

ByteToBool 编码

func ByteToHex

func ByteToHex(value byte) []byte

ByteToHex 编码

func Dup

func Dup(buf []byte) []byte

Dup 复制

func ExpandBool

func ExpandBool(buf []byte, count int) []byte

ExpandBool 展开布尔类型

func FromHex

func FromHex(values []byte) []byte

FromHex 解码

func ParseFloat32

func ParseFloat32(buf []byte) float32

ParseFloat32 解析

func ParseFloat32LittleEndian

func ParseFloat32LittleEndian(buf []byte) float32

ParseFloat32LittleEndian 解析

func ParseFloat64

func ParseFloat64(buf []byte) float64

ParseFloat64 解析

func ParseFloat64LittleEndian

func ParseFloat64LittleEndian(buf []byte) float64

ParseFloat64LittleEndian 解析

func ParseUint16

func ParseUint16(buf []byte) uint16

ParseUint16 解析

func ParseUint16LittleEndian

func ParseUint16LittleEndian(buf []byte) uint16

ParseUint16LittleEndian 解析

func ParseUint32

func ParseUint32(buf []byte) uint32

ParseUint32 解析

func ParseUint32LittleEndian

func ParseUint32LittleEndian(buf []byte) uint32

ParseUint32LittleEndian 解析

func ParseUint64

func ParseUint64(b []byte) uint64

ParseUint64 解析

func ParseUint64LittleEndian

func ParseUint64LittleEndian(b []byte) uint64

ParseUint64LittleEndian 解析

func ShrinkBool

func ShrinkBool(buf []byte) []byte

ShrinkBool 压缩布尔类型

func Sum

func Sum(buf []byte) byte

Sum 和

func ToHex

func ToHex(values []byte) []byte

ToHex 编码

func Uint16ToBytes

func Uint16ToBytes(value uint16) []byte

Uint16ToBytes 编码

func Uint16ToBytesLittleEndian

func Uint16ToBytesLittleEndian(value uint16) []byte

Uint16ToBytesLittleEndian 编码

func Uint32ToBytes

func Uint32ToBytes(value uint32) []byte

Uint32ToBytes 编码

func Uint32ToBytesLittleEndian

func Uint32ToBytesLittleEndian(value uint32) []byte

Uint32ToBytesLittleEndian 编码

func WriteByteHex

func WriteByteHex(buf []byte, value uint8)

WriteByteHex 编码

func WriteFloat32

func WriteFloat32(buf []byte, value float32)

WriteFloat32 编码

func WriteFloat32LittleEndian

func WriteFloat32LittleEndian(buf []byte, value float32)

WriteFloat32LittleEndian 编码

func WriteFloat64

func WriteFloat64(buf []byte, value float64)

WriteFloat64 编码

func WriteFloat64LittleEndian

func WriteFloat64LittleEndian(buf []byte, value float64)

WriteFloat64LittleEndian 编码

func WriteUint16

func WriteUint16(buf []byte, value uint16)

WriteUint16 编码

func WriteUint16Hex

func WriteUint16Hex(buf []byte, value uint16)

WriteUint16Hex 编码

func WriteUint16LittleEndian

func WriteUint16LittleEndian(buf []byte, value uint16)

WriteUint16LittleEndian 编码

func WriteUint24

func WriteUint24(buf []byte, value uint32)

WriteUint24 编码

func WriteUint24LittleEndian

func WriteUint24LittleEndian(buf []byte, value uint32)

WriteUint24LittleEndian 编码

func WriteUint32

func WriteUint32(buf []byte, value uint32)

WriteUint32 编码

func WriteUint32LittleEndian

func WriteUint32LittleEndian(buf []byte, value uint32)

WriteUint32LittleEndian 编码

func WriteUint64

func WriteUint64(buf []byte, value uint64)

WriteUint64 编码

func WriteUint64LittleEndian

func WriteUint64LittleEndian(buf []byte, value uint64)

WriteUint64LittleEndian 编码

func WriteUint8Hex

func WriteUint8Hex(buf []byte, value uint8)

WriteUint8Hex 编码

func Xor

func Xor(buf []byte) byte

Xor 异或

Types

This section is empty.

Jump to

Keyboard shortcuts

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