printUint outputs an unsigned integer value to Writer w.
(w io.Writer, val uint64, base int)
| 156 | |
| 157 | // printUint outputs an unsigned integer value to Writer w. |
| 158 | func printUint(w io.Writer, val uint64, base int) { |
| 159 | w.Write([]byte(strconv.FormatUint(val, base))) |
| 160 | } |
| 161 | |
| 162 | // printFloat outputs a floating point value using the specified precision, |
| 163 | // which is expected to be 32 or 64bit, to Writer w. |