InitBytes init the Int to a number represented in a big-endian byte string.
(a []byte, m *big.Int, byteOrder ByteOrder)
| 92 | |
| 93 | // InitBytes init the Int to a number represented in a big-endian byte string. |
| 94 | func (i *Int) InitBytes(a []byte, m *big.Int, byteOrder ByteOrder) *Int { |
| 95 | i.M = m |
| 96 | i.BO = byteOrder |
| 97 | i.SetBytes(a) |
| 98 | return i |
| 99 | } |
| 100 | |
| 101 | // InitString inits the Int to a rational fraction n/d |
| 102 | // specified with a pair of strings in a given base. |