Reads a byte from the underlying stream and returns the byte cast to an int, or returns -1 if reading from the end of the stream.
Syntax
public override
int ReadByte ()
Returns
The byte cast to an int, or -1 if reading from the end of the stream.
Remarks
Requirements
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0