printInt outputs a signed integer value to Writer w.
(w io.Writer, val int64, base int)
| 151 | |
| 152 | // printInt outputs a signed integer value to Writer w. |
| 153 | func printInt(w io.Writer, val int64, base int) { |
| 154 | w.Write([]byte(strconv.FormatInt(val, base))) |
| 155 | } |
| 156 | |
| 157 | // printUint outputs an unsigned integer value to Writer w. |
| 158 | func printUint(w io.Writer, val uint64, base int) { |