Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToUint32 ¶
BytesToUint32 converts 4 bytes to uint32 with the machine endian
func BytesToUint64 ¶
BytesToUint64 converts 8 bytes to uint64 with the machine endian
func Must ¶
Must is a helper wraps a call to a function returing ([]byte, error) and panics if the error is not nil.
func Uint32ToBytes ¶
Uint32ToBytes converts a uint32 to 4 bytes with the machine endian
func Uint64ToBytes ¶
Uint64ToBytes converts a uint64 to 8 bytes with the machine endian
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.