EncodeUint64 encodes an uint16 in 9 bytes preserving type of the number.
(n uint64)
| 45 | |
| 46 | // EncodeUint64 encodes an uint16 in 9 bytes preserving type of the number. |
| 47 | func (e *Encoder) EncodeUint64(n uint64) error { |
| 48 | return e.write8(msgpcode.Uint64, n) |
| 49 | } |
| 50 | |
| 51 | func (e *Encoder) encodeUint64Cond(n uint64) error { |
| 52 | if e.flags&useCompactIntsFlag != 0 { |
no test coverage detected