aboutsummaryrefslogtreecommitdiff
path: root/java/org/brotli/dec/RunningState.java
blob: 692267f9dbf8d2da53700bd87155cb5eccc354ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* Copyright 2015 Google Inc. All Rights Reserved.

   Distributed under MIT license.
   See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/

package org.brotli.dec;

/**
 * Enumeration of decoding state-machine.
 */
final class RunningState {
    static final int UNINITIALIZED = 0;
    static final int BLOCK_START = 1;
    static final int COMPRESSED_BLOCK_START = 2;
    static final int MAIN_LOOP = 3;
    static final int READ_METADATA = 4;
    static final int COPY_UNCOMPRESSED = 5;
    static final int INSERT_LOOP = 6;
    static final int COPY_LOOP = 7;
    static final int COPY_WRAP_BUFFER = 8;
    static final int TRANSFORM = 9;
    static final int FINISHED = 10;
    static final int CLOSED = 11;
    static final int WRITE = 12;
}