/// <summary> /// Constructor /// </summary> /// <param name="io">Stream - to be use for read and write</param> public MyCompressorStream(Stream io) : base() { m_io = io; m_queue = new Queue <byte>(); m_naiveCompressor = new MyMaze3DCompressor(); m_bytesReadFromStream = new byte[m_BufferSize]; }
public MyCompressorStream(Stream io, int mode) { this.m_io = io; this.m_mode = mode; m_bytesReadFromStream = new byte[m_BufferSize]; m_queue = new Queue <byte>(); m_naiveCompressor = new MyMaze3DCompressor(); }