Microsoft.Http.DetectEofStream.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 num = base.Read(buffer, offset, count);
            if (num == 0)
            {
                this.ReceivedEof();
            }
            return num;
        }