Int encodes and writes an int value into the element bitstream.
(x int)
| 292 | |
| 293 | // Int encodes and writes an int value into the element bitstream. |
| 294 | func (w *Encoder) Int(x int) { w.Int64(int64(x)) } |
| 295 | |
| 296 | // Uint encodes and writes a uint value into the element bitstream. |
| 297 | func (w *Encoder) Uint(x uint) { w.Uint64(uint64(x)) } |