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 namespace Org.Brotli.Dec
7 {
8 	/// <summary>Enumeration of decoding state-machine.</summary>
9 	internal sealed class RunningState
10 	{
11 		internal const int Uninitialized = 0;
12 
13 		internal const int BlockStart = 1;
14 
15 		internal const int CompressedBlockStart = 2;
16 
17 		internal const int MainLoop = 3;
18 
19 		internal const int ReadMetadata = 4;
20 
21 		internal const int CopyUncompressed = 5;
22 
23 		internal const int InsertLoop = 6;
24 
25 		internal const int CopyLoop = 7;
26 
27 		internal const int CopyWrapBuffer = 8;
28 
29 		internal const int Transform = 9;
30 
31 		internal const int Finished = 10;
32 
33 		internal const int Closed = 11;
34 
35 		internal const int Write = 12;
36 	}
37 }
38