@@ -33,7 +33,7 @@ rather than the deprecated `ZSTD_getDecompressedSize`.
3333| Dictionary training (ZDICT) | 8 / 12 | trainFromBuffer, cover/fastCover optimizers, finalizeDictionary, getDictHeaderSize |
3434| Streaming — compress | 3 / 22 | ` ZstdOutputStream ` (compressStream2 + buffer sizes) |
3535| Streaming — decompress | 3 / 15 | ` ZstdInputStream ` (decompressStream + buffer sizes) |
36- | Advanced parameters | 8 / 38 | all ` ZSTD_cParameter ` + ` ZSTD_dParameter ` via ` ZstdCompressParameter ` /` ZstdDecompressParameter ` ; ` compress2 ` , ` C/DCtx_setParameter ` , ` loadDictionary ` , ` c/dParam_getBounds ` ; MT inert on single-thread build |
36+ | Advanced parameters | 10 / 38 | all ` ZSTD_cParameter ` + ` ZSTD_dParameter ` via ` ZstdCompressParameter ` /` ZstdDecompressParameter ` ; ` compress2 ` , ` C/DCtx_setParameter ` , ` C/DCtx_reset ` , ` loadDictionary ` , ` c/dParam_getBounds ` ; MT inert on single-thread build |
3737| Frame inspection | 10 / 13 | ` ZstdFrame ` + getFrameProgression; ` _advanced ` not bound |
3838| Memory sizing | 8 / 14 | sizeof_C/DCtx, sizeof_C/DDict, estimate C/DCtx + C/DDict size |
3939| Low-level block | 0 / 12 | expert block/continue API not bound |
@@ -63,6 +63,7 @@ rather than the deprecated `ZSTD_getDecompressedSize`.
6363| ` ZSTD_compress2 ` , ` ZSTD_CCtx_setParameter ` | ` ZstdCompressCtx.parameter ` / ` checksum ` / ` longDistanceMatching ` / ` windowLog ` (all of ` ZstdCompressParameter ` ) |
6464| ` ZSTD_DCtx_setParameter ` | ` ZstdDecompressCtx.parameter ` / ` windowLogMax ` (` ZstdDecompressParameter ` ) |
6565| ` ZSTD_CCtx_setPledgedSrcSize ` | ` ZstdOutputStream.withPledgedSize ` |
66+ | ` ZSTD_CCtx_reset ` , ` ZSTD_DCtx_reset ` | ` ZstdCompressCtx.reset ` / ` ZstdDecompressCtx.reset ` (` ZstdResetDirective ` ) |
6667| ` ZSTD_getDictID_fromCDict ` , ` ZSTD_getDictID_fromDDict ` | ` ZstdCompressDict.id() ` / ` ZstdDecompressDict.id() ` |
6768| ` ZSTD_getErrorString ` | ` ZstdErrorCode.description() ` |
6869| ` ZSTD_cParam_getBounds ` , ` ZSTD_dParam_getBounds ` | ` ZstdCompressParameter.bounds() ` / ` ZstdDecompressParameter.bounds() ` (` ZstdBounds ` ) |
@@ -90,7 +91,7 @@ zstd-jni's JNI sources (v1.5.7-11, `src/main/native/*.c`). The latter is
9091symbol-exact, not functional equivalence: zstd-jni may expose an operation through
9192a different symbol than this library — e.g. it routes one-shot compression through
9293` ZSTD_compress2 ` , so ` ZSTD_compress ` reads ` — ` for it even though ` Zstd.compress `
93- works. zstd-jni references 53 of these symbols; this library binds 55 . They
94+ works. zstd-jni references 53 of these symbols; this library binds 57 . They
9495overlap on the modern context/streaming API and diverge mainly on zstd-jni's
9596sequence-producer hooks vs this library's frame-inspection and typed-error surface.
9697
@@ -231,7 +232,7 @@ sequence-producer hooks vs this library's frame-inspection and typed-error surfa
231232| ` ZSTD_resetDStream ` | — ᵈ | — |
232233| ` ZSTD_sizeof_DStream ` | — | — |
233234
234- ### Advanced parameters (8 /38)
235+ ### Advanced parameters (10 /38)
235236
236237| Symbol | Bound | zstd-jni |
237238| ---| :---:| :---:|
@@ -249,7 +250,7 @@ sequence-producer hooks vs this library's frame-inspection and typed-error surfa
249250| ` ZSTD_CCtx_refPrefix ` | — | — |
250251| ` ZSTD_CCtx_refPrefix_advanced ` | — | — |
251252| ` ZSTD_CCtx_refThreadPool ` | — | — |
252- | ` ZSTD_CCtx_reset ` | — | ✅ |
253+ | ` ZSTD_CCtx_reset ` | ✅ | ✅ |
253254| ` ZSTD_CCtx_setCParams ` | — | — |
254255| ` ZSTD_CCtx_setFParams ` | — | — |
255256| ` ZSTD_CCtx_setParameter ` | ✅ | ✅ |
@@ -263,7 +264,7 @@ sequence-producer hooks vs this library's frame-inspection and typed-error surfa
263264| ` ZSTD_DCtx_refDDict ` | — | ✅ |
264265| ` ZSTD_DCtx_refPrefix ` | — | — |
265266| ` ZSTD_DCtx_refPrefix_advanced ` | — | — |
266- | ` ZSTD_DCtx_reset ` | — | ✅ |
267+ | ` ZSTD_DCtx_reset ` | ✅ | ✅ |
267268| ` ZSTD_DCtx_setFormat ` | — ᵈ | — |
268269| ` ZSTD_DCtx_setMaxWindowSize ` | — | — |
269270| ` ZSTD_DCtx_setParameter ` | ✅ | ✅ |
0 commit comments