read Method (ByteInputBuffer)
In This Topic
Reads the next byte of data from this input stream. The value byte is returned as an int in the range 0 to 255. If no byte is available because the end of the stream has been reached, -1 is returned.
This method is not synchronized, so it is not thread safe.
Syntax
'Declaration
Public Overridable Function read() As Integer
public virtual int read()
Return Value
The byte read in the range 0-255, or -1 if the end of stream has been reached.
See Also