Switch decoder to "eager" mode. In "eager" mode decoder returns as soon as there is enough data to fill output buffer. @param s initialized state, before any read is performed.
(State s)
| 275 | * @param s initialized state, before any read is performed. |
| 276 | */ |
| 277 | static int enableEagerOutput(State s) { |
| 278 | if (s.runningState != INITIALIZED) { |
| 279 | return Utils.makeError(s, BROTLI_PANIC_STATE_NOT_FRESH); |
| 280 | } |
| 281 | s.isEager = 1; |
| 282 | return BROTLI_OK; |
| 283 | } |
| 284 | |
| 285 | static int enableLargeWindow(State s) { |
| 286 | if (s.runningState != INITIALIZED) { |
no test coverage detected