internal ResourceDecompressor(Stream input, int compressedSize, int uncompressedSize) { Input = new BitStream(input); CompressedSize = compressedSize; UncompressedSize = uncompressedSize; OutputData = new byte[uncompressedSize]; InputEnd = input.Position + compressedSize; OutputOffset = 0; }