com.vwp.sound.mod.util.io
Class RandomAccessArray
java.lang.Object
com.vwp.sound.mod.util.io.AbstractRandomAccess
com.vwp.sound.mod.util.io.RandomAccessArray
- All Implemented Interfaces:
- RandomAccess
public class RandomAccessArray
- extends AbstractRandomAccess
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomAccessArray
public RandomAccessArray(byte[] data)
seek
public void seek(long pos)
throws java.io.IOException
- Throws:
java.io.IOException
skipBytes
public void skipBytes(int skip)
throws java.io.IOException
- Throws:
java.io.IOException
getPosition
public long getPosition()
readByte
public byte readByte()
throws java.io.IOException
- Throws:
java.io.IOException
readShort
public short readShort()
throws java.io.IOException
- Throws:
java.io.IOException
readInt
public int readInt()
throws java.io.IOException
- Throws:
java.io.IOException
readUnsignedByte
public int readUnsignedByte()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()