Microsoft.Http.DetectEofStream.ReadByte C# (CSharp) Method

ReadByte() public method

public ReadByte ( ) : int
return int
        public override int ReadByte()
        {
            int num;
            if (base.CanRead)
            {
                num = base.ReadByte();
            }
            else
            {
                num = -1;
            }
            if (num == -1)
            {
                this.ReceivedEof();
            }
            return num;
        }