UseInternedStrings enables support for decoding interned strings.
(on bool)
| 159 | |
| 160 | // UseInternedStrings enables support for decoding interned strings. |
| 161 | func (d *Decoder) UseInternedStrings(on bool) { |
| 162 | if on { |
| 163 | d.flags |= useInternedStringsFlag |
| 164 | } else { |
| 165 | d.flags &= ^useInternedStringsFlag |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | // UsePreallocateValues enables preallocating values in chunks |
| 170 | func (d *Decoder) UsePreallocateValues(on bool) { |
no outgoing calls