ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX Namespace / DataStream Class / ReadByte Method

In This Topic
    ReadByte Method
    In This Topic
    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 Integer
    public override 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