com.partnersoft.io.formats.packrat
Class PackratRandomAccessReader
java.lang.Object
com.partnersoft.io.formats.packrat.PackratRandomAccessReader
public class PackratRandomAccessReader
- extends java.lang.Object
A tool for random-access reading of a Packrat file.
- Author:
- Paul Reavis
Copyright 2003 Partner Software, Inc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
randy
public VFSRandomAccess randy
start
public int start
end
public int end
PackratRandomAccessReader
public PackratRandomAccessReader(VFSRandomAccess randy,
int start,
int end)
PackratRandomAccessReader
public PackratRandomAccessReader(VFSRandomAccess randy)
throws java.io.IOException
- Throws:
java.io.IOException
readSize
public long readSize(int sizeParam,
int whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readBytes
public void readBytes(ByteBuffer buffy,
int whereAt,
int howMuch)
throws java.io.IOException
- Throws:
java.io.IOException
readInt8
public final byte readInt8(int whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readUInt8
public final short readUInt8(int whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readInt16
public final short readInt16(int whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readUInt16
public final int readUInt16(int whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readInt32
public final int readInt32(int whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readUInt32
public final long readUInt32(int whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readInt64
public final long readInt64(int whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readFloat
public final float readFloat(int whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readDouble
public final double readDouble(int whereAt)
throws java.io.IOException
- Throws:
java.io.IOException