Documentation ¶
Index ¶
- func Byte2ToUint16(b [2]byte) uint16
- func BytesToInteger(b []byte) uint
- func BytesToUint32(b [4]byte) uint32
- func BytesToUint64(b [8]byte) uint64
- func BytesToUint8(b [1]byte) uint8
- func IntegerToBytes(v uint, b []byte)
- func Uint16ToBytes(v uint16, b *[2]byte)
- func Uint32ToBytes(v uint32, b *[4]byte)
- func Uint64ToBytes(v uint64, b *[8]byte)
- func Uint8ToBytes(v uint8, b *[1]byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Byte2ToUint16 ¶
Byte2ToUint16 converts specified bytes to a integer.
func BytesToInteger ¶
BytesToInteger converts specified bytes to a integer.
func BytesToUint32 ¶
BytesToUint32 converts specified bytes to a integer.
func BytesToUint64 ¶
BytesToUint64 converts specified bytes to a integer.
func BytesToUint8 ¶
BytesToUint8 converts specified bytes to a integer.
func IntegerToBytes ¶
IntegerToBytes converts a specified integer to bytes.
func Uint16ToBytes ¶
Uint16ToBytes converts a specified integer to bytes.
func Uint32ToBytes ¶
Uint32ToBytes converts a specified integer to bytes.
func Uint64ToBytes ¶
Uint64ToBytes converts a specified integer to bytes.
func Uint8ToBytes ¶
Uint8ToBytes converts a specified integer to bytes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.