File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/main/java/com/github/luben/zstd Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ public void registerSequenceProducer(SequenceProducer producer) {
300300
301301 /**
302302 * Enable or disable sequence producer fallback
303- * @param fallbackFlag Fall back to an internal sequence producer if a registered external
303+ * @param fallbackFlag fall back to the default internal sequence producer if an external
304304 * sequence producer returns an error code, default: false
305305 */
306306 public ZstdCompressCtx setSequenceProducerFallback (boolean fallbackFlag ){
@@ -312,6 +312,11 @@ public ZstdCompressCtx setSequenceProducerFallback(boolean fallbackFlag){
312312 }
313313 private static native void setSequenceProducerFallback0 (long ptr , boolean fallbackFlag );
314314
315+ /**
316+ * Enable or disable sequence validation. Useful for the sequence-level API
317+ * and with external sequence producers.
318+ * @param validateSequences whether to validate all sequences, default: false
319+ */
315320 public ZstdCompressCtx setValidateSequences (boolean validateSequences ) {
316321 ensureOpen ();
317322 acquireSharedLock ();
You can’t perform that action at this time.
0 commit comments