ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.util Namespace / ISRandomAccessIO Class
Properties Methods


In This Topic
    ISRandomAccessIO Class Members
    In This Topic

    The following tables list the members exposed by ISRandomAccessIO.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyReturns the endianess (i.e., byte ordering) of multi-byte I/O operations. Always EndianType.BIG_ENDIAN since this class implements only big-endian.  
    Public PropertyReturns the current position in the stream, which is the position from where the next byte of data would be read. The first byte in the stream is in position 0.  
    Top
    Public Methods
     NameDescription
    Public MethodCloses this object for reading as well as the wrapped InputStream, if not already closed. The memory used by the cache is released.  
    Public MethodDoes nothing since this class does not implement data output.  
    Public MethodReturns the length of the stream. This will cause all the data to be read. This method will block until all the data is read, which can be lengthy across the network.  
    Public Method  
    Public MethodReads a byte of data from the stream.  
    Public MethodReads an IEEE double precision (i.e., 64 bit) floating-point number from the input.  
    Public MethodReads an IEEE single precision (i.e., 32 bit) floating-point number from the input.  
    Public MethodReads 'len' bytes of data from this file into an array of bytes. This method reads repeatedly from the stream until all the bytes are read. This method blocks until all the bytes are read, the end of the stream is detected, or an exception is thrown.  
    Public MethodReads a signed int (32 bit) from the input.  
    Public MethodReads a signed long (64 bit) from the input.  
    Public MethodReads a signed short (16 bit) from the input.  
    Public MethodReads an unsigned byte (8 bit) from the input.  
    Public MethodReads a unsigned int (32 bit) from the input.  
    Public MethodReads an unsigned short (16 bit) from the input.  
    Public MethodMoves the current position for the next read operation to offset. The offset is measured from the beginning of the stream. If the offset is set beyond the currently cached data, the missing data will be read only when a read operation is performed. Setting the offset beyond the end of the data will cause an EOFException only if the data length is currently known, otherwise an IOException will occur when a read operation is attempted at that position.  
    Public MethodSkips 'n' bytes from the input.  
    Public MethodThrows an IOException since this class does not implement data output.  
    Public MethodThrows an IOException since this class does not implement data output.  
    Public MethodThrows an IOException since this class does not implement data output.  
    Public MethodThrows an IOException since this class does not implement data output.  
    Public MethodThrows an IOException since this class does not implement data output.  
    Public MethodThrows an IOException since this class does not implement data output.  
    Public MethodThrows an IOException since this class does not implement data output.  
    Top
    See Also