ResetDict will reset and set a dictionary if not nil
(d *dict, singleBlock bool)
| 1031 | |
| 1032 | // ResetDict will reset and set a dictionary if not nil |
| 1033 | func (e *doubleFastEncoder) Reset(d *dict, singleBlock bool) { |
| 1034 | e.fastEncoder.Reset(d, singleBlock) |
| 1035 | if d != nil { |
| 1036 | panic("doubleFastEncoder: Reset with dict not supported") |
| 1037 | } |
| 1038 | } |
| 1039 | |
| 1040 | func (e *doubleFastEncoder) ResetPrefix(prefix []byte) { |
| 1041 | e.fastEncoder.ResetPrefix(prefix) |