(n int64)
| 97 | } |
| 98 | |
| 99 | func (e *Encoder) encodeInt64Cond(n int64) error { |
| 100 | if e.flags&useCompactIntsFlag != 0 { |
| 101 | return e.EncodeInt(n) |
| 102 | } |
| 103 | return e.EncodeInt64(n) |
| 104 | } |
| 105 | |
| 106 | // EncodeUnsignedNumber encodes an uint64 in 1, 2, 3, 5, or 9 bytes. |
| 107 | // Type of the number is lost during encoding. |
no test coverage detected