Sharpen.WrappedSystemStream.Read C# (CSharp) Method

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int
        public override int Read(byte[] buffer, int offset, int count)
        {
            int res = this.ist.Read (buffer, offset, count);
            if (res != -1) {
                position += res;
                return res;
            } else
                return 0;
        }