Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
[Visual Basic]
Overloads Public Function ReadByte() As Int32
[C#]
public Int32 ReadByte();
Return Value
The unsigned byte cast to an Int32, or -1 if at the end of the stream
Remarks
Use the CanRead property
to determine whether the current instance supports reading. Attempts to
manipulate the stream after the stream has been closed could throw an
ObjectDisposedException.
This method internally calls Read
method to receive data from remote server.
See Also
SFTPStream Class | SFTPStream Members | WeOnlyDo.Client Namespace