(n uint32)
| 37 | } |
| 38 | |
| 39 | func (e *Encoder) encodeUint32Cond(n uint32) error { |
| 40 | if e.flags&useCompactIntsFlag != 0 { |
| 41 | return e.EncodeUint(uint64(n)) |
| 42 | } |
| 43 | return e.EncodeUint32(n) |
| 44 | } |
| 45 | |
| 46 | // EncodeUint64 encodes an uint16 in 9 bytes preserving type of the number. |
| 47 | func (e *Encoder) EncodeUint64(n uint64) error { |
no test coverage detected