ComponentOne Bitmap for WPF
ReadByte Method (DataStream)

C1.WPF.DX.4 Assembly > C1.Util.DX Namespace > DataStream Class : ReadByte Method
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.
Syntax
'Declaration
 
Public Overrides Function ReadByte() As System.Integer
public override System.int ReadByte()

Return Value

The unsigned byte cast to an Int32, or -1 if at the end of the stream.
Exceptions
ExceptionDescription
The stream does not support reading.
Methods were called after the stream was closed.
See Also

Reference

DataStream Class
DataStream Members