(n int32)
| 85 | } |
| 86 | |
| 87 | func (e *Encoder) encodeInt32Cond(n int32) error { |
| 88 | if e.flags&useCompactIntsFlag != 0 { |
| 89 | return e.EncodeInt(int64(n)) |
| 90 | } |
| 91 | return e.EncodeInt32(n) |
| 92 | } |
| 93 | |
| 94 | // EncodeInt64 encodes an int64 in 9 bytes preserving type of the number. |
| 95 | func (e *Encoder) EncodeInt64(n int64) error { |
no test coverage detected