Alexandria.Engines.Sciagi.ResourceDecompressor.WriteMemory C# (CSharp) Method

WriteMemory() private method

Copy a portion of the output buffer onto itself.
private WriteMemory ( int offset, int count ) : void
offset int The positive offset from the current to read from.
count int The number of bytes to write.
return void
        void WriteMemory(int offset, int count)
        {
            int position = OutputOffset - offset;

            for (int index = 0; index < count; index++)
                Write(OutputData[position++]);
        }