Method
attachDictionary
(PreparedDictionary dictionary)
Source from the content-addressed store, hash-verified
| 134 | } |
| 135 | |
| 136 | public void attachDictionary(PreparedDictionary dictionary) throws IOException { |
| 137 | if (!encoder.attachDictionary(dictionary.getData())) { |
| 138 | fail("failed to attach dictionary"); |
| 139 | } |
| 140 | // Reference to native prepared dictionary wrapper should be held till the end of encoding. |
| 141 | dictionaries.add(dictionary); |
| 142 | } |
| 143 | |
| 144 | /** |
| 145 | * @param force repeat pushing until all output is consumed |
Callers
nothing calls this directly
Tested by
no test coverage detected