ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.entropy.decoder Namespace / ByteInputBuffer Class / readChecked Method

In This Topic
    readChecked Method
    In This Topic
    Reads the next byte of data from this input stream. The value byte is returned as an int in the range 0 to 255. If no byte is available because the end of the stream has been reached, the EOFException exception is thrown.

    This method is not synchronized, so it is not thread safe.

    Syntax
    'Declaration
     
    
    Public Overridable Function readChecked() As Integer
    public virtual int readChecked()

    Return Value

    The byte read in the range 0-255.
    Exceptions
    ExceptionDescription
    If the end of the stream is reached.
    See Also