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


In This Topic
    BEBufferedRandomAccessFile Class Members
    In This Topic

    The following tables list the members exposed by BEBufferedRandomAccessFile.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyReturns the endianess (i.e., byte ordering) of the implementing class. Note that an implementing class may implement only one type of endianness or both, which would be decided at creation time. (Inherited from CSJ2K.j2k.io.BufferedRandomAccessFile)
    Public PropertyReturns the current offset in the file (Inherited from CSJ2K.j2k.io.BufferedRandomAccessFile)
    Top
    Public Methods
     NameDescription
    Public MethodCloses the buffered random access file (Inherited from CSJ2K.j2k.io.BufferedRandomAccessFile)
    Public MethodAny data that has been buffered must be written (including buffering at the bit level), and the stream should be realigned at the byte level. (Inherited from CSJ2K.j2k.io.BufferedRandomAccessFile)
    Public MethodReturns the current length of the stream, in bytes, taking into account any buffering. (Inherited from CSJ2K.j2k.io.BufferedRandomAccessFile)
    Public Method (Inherited from CSJ2K.j2k.io.BufferedRandomAccessFile)
    Public MethodReads an unsigned byte of data from the stream. Prior to reading, the stream is realigned at the byte level. (Inherited from CSJ2K.j2k.io.BufferedRandomAccessFile)
    Public MethodOverridden. Reads an IEEE double precision (i.e., 64 bit) floating-point number from the input. Prior to reading, the input should be realigned at the byte level.  
    Public MethodOverridden. Reads an IEEE single precision (i.e., 32 bit) floating-point number from the input. Prior to reading, the input should be realigned at the byte level.  
    Public MethodReads up to 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. (Inherited from CSJ2K.j2k.io.BufferedRandomAccessFile)
    Public MethodOverridden. Reads a signed int (i.e., 32 bit) from the input. Prior to reading, the input should be realigned at the byte level.  
    Public MethodOverridden. Reads a signed long (i.e., 64 bit) from the input. Prior to reading, the input should be realigned at the byte level.  
    Public MethodOverridden. Reads a signed short (i.e. 16 bit) from the input. Prior to reading, the input should be realigned at the byte level.  
    Public Method (Inherited from CSJ2K.j2k.io.BufferedRandomAccessFile)
    Public MethodOverridden. Reads an unsigned int (i.e., 32 bit) from the input. It is returned as a long since Java does not have an unsigned short type. Prior to reading, the input should be realigned at the byte level.  
    Public MethodOverridden. Reads an unsigned short (i.e., 16 bit) from the input. It is returned as an int since Java does not have an unsigned short type. Prior to reading, the input should be realigned at the byte level.  
    Public MethodMoves the current position to the given offset at which the next read or write occurs. The offset is measured from the beginning of the stream. (Inherited from CSJ2K.j2k.io.BufferedRandomAccessFile)
    Public MethodSkips n bytes from the input. Prior to skipping, the input should be realigned at the byte level. (Inherited from CSJ2K.j2k.io.BufferedRandomAccessFile)
    Public MethodOverridden. Returns a string of information about the file and the endianess  
    Public MethodOverloaded. Writes a byte to the stream. Prior to writing, the stream is realigned at the byte level. (Inherited from CSJ2K.j2k.io.BufferedRandomAccessFile)
    Public Method (Inherited from CSJ2K.j2k.io.BufferedRandomAccessFile)
    Public MethodOverridden. Writes the IEEE double value v (i.e., 64 bits) to the output. Prior to writing, the output should be realigned at the byte level.  
    Public MethodOverridden. Writes the IEEE float value v (i.e., 32 bits) to the output. Prior to writing, the output should be realigned at the byte level.  
    Public MethodOverridden. Writes the int value of v (i.e., the 32 bits) to the output. Prior to writing, the output should be realigned at the byte level.  
    Public MethodOverridden. Writes the long value of v (i.e., the 64 bits) to the output. Prior to writing, the output should be realigned at the byte level.  
    Public MethodOverridden. Writes the short value of v (i.e., 16 least significant bits) to the output. Prior to writing, the output should be realigned at the byte level.

    Signed or unsigned data can be written. To write a signed value just pass the short value as an argument. To write unsigned data pass the int value as an argument (it will be automatically casted, and only the 16 least significant bits will be written).

     
    Top
    See Also