示例#1
0
        public LzxStream(Stream stream, int windowBits, int fileSize)
        {
            _bitStream = new LzxBitStream(new BufferedStream(stream, 8192));
            _windowBits = windowBits;
            _fileSize = fileSize;
            _numPositionSlots = _windowBits * 2;
            _buffer = new byte[1 << windowBits];

            ReadBlocks();
        }
示例#2
0
        public LzxStream(Stream stream, int windowBits, int fileSize)
        {
            _bitStream        = new LzxBitStream(new BufferedStream(stream, 8192));
            _windowBits       = windowBits;
            _fileSize         = fileSize;
            _numPositionSlots = _windowBits * 2;
            _buffer           = new byte[1 << windowBits];

            ReadBlocks();
        }