Uint returns a byte slice containing the value of the json number that the tokenizer is currently pointing at. This method must only be called after checking the kind of the token via a call to Kind. If the tokenizer is not positioned on a positive integer, the behavior is undefined.
()
| 266 | // If the tokenizer is not positioned on a positive integer, the behavior is |
| 267 | // undefined. |
| 268 | func (t *Tokenizer) Uint() uint64 { |
| 269 | u, _, _ := t.parseUint(t.Value, uint64Type) |
| 270 | return u |
| 271 | } |
| 272 | |
| 273 | // Float returns a byte slice containing the value of the json number that the |
| 274 | // tokenizer is currently pointing at. |
no test coverage detected