(i uint64)
| 179 | } |
| 180 | |
| 181 | func EncodeUint(i uint64) scode.Bytes { |
| 182 | var b [8]byte |
| 183 | n := scode.EncodeCountedUvarint(b[:], i) |
| 184 | return b[:n] |
| 185 | } |
| 186 | |
| 187 | func AppendUint(bytes scode.Bytes, i uint64) scode.Bytes { |
| 188 | return scode.AppendCountedUvarint(bytes, i) |