Home | History | Annotate | Download | only in dec
      1 /* Copyright 2015 Google Inc. All Rights Reserved.
      2 
      3    Distributed under MIT license.
      4    See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
      5 */
      6 
      7 package org.brotli.dec;
      8 
      9 /**
     10  * Enumeration of decoding state-machine.
     11  */
     12 final class RunningState {
     13     static final int UNINITIALIZED = 0;
     14     static final int BLOCK_START = 1;
     15     static final int COMPRESSED_BLOCK_START = 2;
     16     static final int MAIN_LOOP = 3;
     17     static final int READ_METADATA = 4;
     18     static final int COPY_UNCOMPRESSED = 5;
     19     static final int INSERT_LOOP = 6;
     20     static final int COPY_LOOP = 7;
     21     static final int COPY_WRAP_BUFFER = 8;
     22     static final int TRANSFORM = 9;
     23     static final int FINISHED = 10;
     24     static final int CLOSED = 11;
     25     static final int WRITE = 12;
     26 }
     27