(n int8)
| 61 | } |
| 62 | |
| 63 | func (e *Encoder) encodeInt8Cond(n int8) error { |
| 64 | if e.flags&useCompactIntsFlag != 0 { |
| 65 | return e.EncodeInt(int64(n)) |
| 66 | } |
| 67 | return e.EncodeInt8(n) |
| 68 | } |
| 69 | |
| 70 | // EncodeInt16 encodes an int16 in 3 bytes preserving type of the number. |
| 71 | func (e *Encoder) EncodeInt16(n int16) error { |
no test coverage detected