(w io.Writer)
| 69 | } |
| 70 | |
| 71 | func (i *IntEncoder) Emit(w io.Writer) error { |
| 72 | var err error |
| 73 | if len(i.out) > 0 { |
| 74 | _, err = w.Write(i.out) |
| 75 | } |
| 76 | return err |
| 77 | } |
| 78 | |
| 79 | func (i *IntEncoder) Dict() (PrimitiveEncoder, []byte, []uint32) { |
| 80 | entries, index, counts := comparableDict(i.vals) |