MCPcopy Create free account
hub / github.com/google/brotli / setWindow

Method setWindow

java/org/brotli/wrapper/enc/Encoder.java:86–92  ·  view source on GitHub ↗

Setup encoder window size. @param lgwin log2(LZ window size), or -1 for default

(int lgwin)

Source from the content-addressed store, hash-verified

84 * @param lgwin log2(LZ window size), or -1 for default
85 */
86 public Parameters setWindow(int lgwin) {
87 if ((lgwin != -1) && ((lgwin < 10) || (lgwin > 24))) {
88 throw new IllegalArgumentException("lgwin should be in range [10, 24], or -1");
89 }
90 this.lgwin = lgwin;
91 return this;
92 }
93
94 /**
95 * Setup encoder compression mode.

Callers 2

runMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by 2

runMethod · 0.64
runMethod · 0.64