NewCount64 initializes a Count64 from a uint64.
(n uint64)
| 64 | |
| 65 | // NewCount64 initializes a Count64 from a uint64. |
| 66 | func NewCount64(n uint64) Count64 { |
| 67 | return Count64(n) |
| 68 | } |
| 69 | |
| 70 | // ToUint64 returns the value of `n` as a `uint64`. If the value has |
| 71 | // overflowed, it returns `(math.MaxUint64, true)`. |