Nanook.QueenBee.Parser.PakFormat.copyStream C# (CSharp) Method

copyStream() private method

private copyStream ( System input, System output ) : void
input System
output System
return void
        private void copyStream(System.IO.Stream input, System.IO.Stream output)
        {
            byte[] buffer = new byte[2000];
            int len;
            while ((len = input.Read(buffer, 0, 2000)) > 0)
            {
                output.Write(buffer, 0, len);
            }
            output.Flush();
        }

Same methods

PakFormat::copyStream ( System input, System output, int length ) : void