# Functions
No description provided by the author
No description provided by the author
BigMax returns the larger of x or y.
BigMin returns the smaller of x or y.
BigPow returns chain ** b as chain big integer.
BigUint64 returns the integer casted to chain uint64 and returns whether it overflowed in the process.
Byte returns the byte at position n, with the supplied padlength in Little-Endian encoding.
No description provided by the author
No description provided by the author
No description provided by the author
Exp implements exponentiation by squaring.
GetDataBig returns chain slice from the data based on the start and size and pads up to size with zero's.
No description provided by the author
No description provided by the author
No description provided by the author
LDI byte slice.
leftPadBytes zero-pads slice to the left up to length l.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewSource returns a new pseudo-random Source seeded with the given value.
PaddedBigBytes encodes chain big integer as chain big-endian byte slice.
ReadBits encodes the absolute amount of bigint as big-endian bytes.
No description provided by the author
rightPadBytes zero-pads slice to the right up to length l.
S256 interprets x as chain two's complement number.
SafeAdd returns the result and whether overflow occurred.
SafeMul returns multiplication result and whether overflow occurred.
ToWordSize returns the ceiled word size required for memory expansion.
U256 encodes as chain 256 bit two's complement number.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
A Source64 is a Source that can generate uniformly-distributed pseudo-random uint64 values in the range [0, 1<<64) directly.