[])">write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChar, writeChars, writeDouble, writeDouble, writeFloat, writeFloat, writeInt, writeInt, writeLong, writeLong, writeShort, writeShort, writeUTF  
Methods inherited from class com.imagero.uio.impl.AbstractRandomAccessInput
getByteOrder, isBuffered, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, readBoolean, readByte, readByteLine, readByteLine, readChar, readChar, readDouble, readDouble, readFloat, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readInt, readInt, readLine, readLong, readLong, readShort, readShort, readUnsignedByte, readUnsignedShort, readUnsignedShort, readUTF, skipBytes
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.imagero.uio.Input
read
 
Methods inherited from interface com.imagero.uio.ISeekable
getByteOrder, isBuffered
 
Methods inherited from interface com.imagero.uio.AdvancedDataInput
read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, read, readByteLine, readByteLine, readChar, readDouble, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readInt, readLong, readShort, readUnsignedShort
 
Methods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
 

Constructor Detail

RandomAccessIntArray

public RandomAccessIntArray(int[] buf,
                            int byteOrder)

RandomAccessIntArray

public RandomAccessIntArray(int[] buf,
                            int offset,
                            int length,
                            int byteOrder)

RandomAccessIntArray

public RandomAccessIntArray(int[] buf,
                            int offset,
                            int length,
                            int byteOrder,
                            BufferPosition fp)
Method Detail

read

public int read()
         throws java.io.IOException
Throws:
java.io.IOException

createShiftBE

protected int[] createShiftBE()
Specified by:
createShiftBE in class AbstractRandomAccessArray

createShiftLE

protected int[] createShiftLE()
Specified by:
createShiftLE in class AbstractRandomAccessArray

getBytesPerUnit

protected int getBytesPerUnit()
Specified by:
getBytesPerUnit in class AbstractRandomAccessArray

getAndMask

protected int getAndMask()
Specified by:
getAndMask in class AbstractRandomAccessArray

readBE

protected void readBE(int srcOffset,
                      int count,
                      byte[] dest,
                      int off)
Specified by:
readBE in class AbstractRandomAccessArray

readLE

protected void readLE(int srcOffset,
                      int count,
                      byte[] dest,
                      int off)
Specified by:
readLE in class AbstractRandomAccessArray

write

public void write(int b)
           throws java.io.IOException
Throws:
java.io.IOException

write

protected void write(byte[] src,
                     int srcOffset,
                     int len,
                     int destOffset,
                     boolean bigEndian)
Specified by:
write in class AbstractRandomAccessArray

createIOChild

public RandomAccessIO createIOChild(long offset,
                                    int byteOrder,
                                    boolean syncPointer)
                             throws java.io.IOException
Throws:
java.io.IOException

createInputChild

public RandomAccessInput createInputChild(long offset,
                                          int byteOrder,
                                          boolean syncPointer)
                                   throws java.io.IOException
Throws:
java.io.IOException

createOutputChild

public RandomAccessOutput createOutputChild(long offset,
                                            int byteOrder,
                                            boolean syncPointer)
                                     throws java.io.IOException
Throws:
java.io.IOException

createController

protected IOController createController()
Specified by:
createController in class AbstractRandomAccessArray