(n int16)
| 73 | } |
| 74 | |
| 75 | func (e *Encoder) encodeInt16Cond(n int16) error { |
| 76 | if e.flags&useCompactIntsFlag != 0 { |
| 77 | return e.EncodeInt(int64(n)) |
| 78 | } |
| 79 | return e.EncodeInt16(n) |
| 80 | } |
| 81 | |
| 82 | // EncodeInt32 encodes an int32 in 5 bytes preserving type of the number. |
| 83 | func (e *Encoder) EncodeInt32(n int32) error { |
no test coverage detected