Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToUint64 ¶
BytesToUint64 converts 8 bytes with the machine endian to uint64
func Must ¶ added in v0.4.4
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.