ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / DataStream Class / ReadByte Method

In This Topic
    ReadByte Method (DataStream)
    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 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