Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToUint ¶
BytesToUint convers a number of bytes into a uint64 The allowed in lengths are:
2: for a uint16 encoded as uint64 4: for a uint32 encoded as uint64 8: for a uint64
func UintToBytes ¶
UintToBytes converst a uint64 into a number of bytes The size param defines the size of the output buffer The allowed sizes are:
16: converts the in to uint16 and returns a 2 byte buffer 32: converts the in to uint32 and returns a 4 byte buffer 64: returns a 8 byte buffer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.