SetBytes calls (big.Int).SetBytes.
(buf []byte)
| 866 | |
| 867 | // SetBytes calls (big.Int).SetBytes. |
| 868 | func (z *BigInt) SetBytes(buf []byte) *BigInt { |
| 869 | var tmp1 big.Int //gcassert:noescape |
| 870 | zi := z.inner(&tmp1) |
| 871 | zi.SetBytes(buf) |
| 872 | z.updateInner(zi) |
| 873 | return z |
| 874 | } |
| 875 | |
| 876 | // SetInt64 calls (big.Int).SetInt64. |
| 877 | func (z *BigInt) SetInt64(x int64) *BigInt { |