Inc makes i = i + 1.
()
| 46 | |
| 47 | // Inc makes i = i + 1. |
| 48 | func (i *Uint256) Inc() (ret *Uint256) { |
| 49 | if i.A++; i.A == 0 { |
| 50 | if i.B++; i.B == 0 { |
| 51 | if i.C++; i.C == 0 { |
| 52 | i.D++ |
| 53 | } |
| 54 | } |
| 55 | } |
| 56 | return i |
| 57 | } |
| 58 | |
| 59 | // Bytes converts Uint256 to []byte. |
| 60 | func (i *Uint256) Bytes() []byte { |
no outgoing calls