Documentation ¶
Index ¶
- func GetByte(data []byte, offset int) byte
- func GetBytes(data []byte, offset, length int) []byte
- func GetBytesCopy(data []byte, offset, length int) []byte
- func GetUint16(data []byte, offset int) uint16
- func GetUint24(data []byte, offset int) uint32
- func GetUint32(data []byte, offset int) uint32
- func SetBytes(data []byte, offset, length int, val []byte)
- func SetUint16(data []byte, offset int, val uint16)
- func SetUint24(data []byte, offset int, val uint32)
- func SetUint32(data []byte, offset int, val uint32)
- func UInt32ToBytesSlice(i uint32) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBytesCopy ¶
GetBytesCopy 获取从offset开始的length个byte的拷贝
func UInt32ToBytesSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.