(State s)
| 339 | } |
| 340 | |
| 341 | static int close(State s) { |
| 342 | if (s.runningState == UNINITIALIZED) { |
| 343 | return Utils.makeError(s, BROTLI_PANIC_STATE_NOT_INITIALIZED); |
| 344 | } |
| 345 | if (s.runningState > 0) { |
| 346 | s.runningState = CLOSED; |
| 347 | } |
| 348 | return BROTLI_OK; |
| 349 | } |
| 350 | |
| 351 | /** |
| 352 | * Decodes a number in the range [0..255], by reading 1 - 11 bits. |