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


In This Topic
    ByteInputBuffer Class Members
    In This Topic

    The following tables list the members exposed by ByteInputBuffer.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Methods
     NameDescription
    Public MethodAdds the specified data to the end of the byte array stream. This method modifies the byte array buffer. It can also discard the already read input.  
    Public MethodReads 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, -1 is returned.

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

     
    Public MethodReads 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.

     
    Public MethodSets the underlying buffer byte array to the given one, with the given offset and length. If 'buf' is null then the current byte buffer is assumed. If 'offset' is negative, then it will be assumed to be 'off+len', where 'off' and 'len' are the offset and length of the current byte buffer.

    The byte array is not copied.

     
    Top
    See Also