File tree 1 file changed +6
-1
lines changed
src/main/java/com/github/luben/zstd 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) {
300
300
301
301
/**
302
302
* 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
304
304
* sequence producer returns an error code, default: false
305
305
*/
306
306
public ZstdCompressCtx setSequenceProducerFallback (boolean fallbackFlag ){
@@ -312,6 +312,11 @@ public ZstdCompressCtx setSequenceProducerFallback(boolean fallbackFlag){
312
312
}
313
313
private static native void setSequenceProducerFallback0 (long ptr , boolean fallbackFlag );
314
314
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
+ */
315
320
public ZstdCompressCtx setValidateSequences (boolean validateSequences ) {
316
321
ensureOpen ();
317
322
acquireSharedLock ();
You can’t perform that action at this time.
0 commit comments