using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UniversalEditor.Compression.Modules.Explode.Internal
{
///
/// Stores information about input and output state.
///
public struct ExplodeState
{
// input state
///
/// Input function provided by user
///
public System.IO.Stream inputStream;
///
///
///
public Ptr indata;
///
/// Available input at in
///
public uint left;
///
/// Bit buffer
///
public int bitbuf;
///
/// Number of bits in bit buffer
///
public int bitcnt;
// input limit error return state for bits() and decode()
// jmp_buf env;
/* output state */
///
/// Output function provided by user
///
public System.IO.Stream outputStream;
///
/// Index of next write location in outdata[]
///
public int next;
///
/// True to check distances (for first 4K)
///
public int first;
///
/// Output buffer and sliding window
///
public Ptr outdata;
}
}