FileStream: ReadByte

ReadByte

Returns the next byte in the file stream starting at the current file position.



 Public Function ReadByte ( ) As Long

Return Values

Long -  The byte value at the current file position.

Remarks

If the file position is passed the end of the stream, then -1 is returned.

See Also

Project CorLib Overview

Class FileStream Overview