(n uint64)
| 49 | } |
| 50 | |
| 51 | func (e *Encoder) encodeUint64Cond(n uint64) error { |
| 52 | if e.flags&useCompactIntsFlag != 0 { |
| 53 | return e.EncodeUint(n) |
| 54 | } |
| 55 | return e.EncodeUint64(n) |
| 56 | } |
| 57 | |
| 58 | // EncodeInt8 encodes an int8 in 2 bytes preserving type of the number. |
| 59 | func (e *Encoder) EncodeInt8(n int8) error { |
no test coverage detected