Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyAlignRight ¶
CopyAlignRight yields a copy of the bytes, of specific length. If output is longer than input, it will pad left with zeroes. If output if shorter than input, input will be trimmed to the left. The right-most bytes always remain in place.
func FromBytes ¶
FromBytes converts a byte array to a number. Interprets input as a 2's complement representation if the first bit (most significant) is 1. Big endian.
func SetBytes ¶
SetBytes changes z to be the number represented as bytes in 2's complement, and returns z. Big endian.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.