(n uint16)
| 25 | } |
| 26 | |
| 27 | func (e *Encoder) encodeUint16Cond(n uint16) error { |
| 28 | if e.flags&useCompactIntsFlag != 0 { |
| 29 | return e.EncodeUint(uint64(n)) |
| 30 | } |
| 31 | return e.EncodeUint16(n) |
| 32 | } |
| 33 | |
| 34 | // EncodeUint32 encodes an uint16 in 5 bytes preserving type of the number. |
| 35 | func (e *Encoder) EncodeUint32(n uint32) error { |
no test coverage detected