Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.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 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