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.
Copyright 2003-2007 Partner Software, Inc.
- Version:
- $Id: PackratRandomAccessReader.java 1012 2007-11-24 18:30:02Z paul $
- Author:
- Paul Reavis
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
randy
public VfsRandomAccess randy
start
public long start
end
public long end
PackratRandomAccessReader
public PackratRandomAccessReader(VfsRandomAccess randy,
long start,
long end)
PackratRandomAccessReader
public PackratRandomAccessReader(VfsRandomAccess randy)
throws java.io.IOException
- Throws:
java.io.IOException
readSize
public long readSize(int sizeParam,
long whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readBytes
public void readBytes(ByteBuffer buffy,
long whereAt,
int howMuch)
throws java.io.IOException
- Throws:
java.io.IOException
readInt8
public final byte readInt8(long whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readUInt8
public final short readUInt8(long whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readInt16
public final short readInt16(long whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readUInt16
public final int readUInt16(long whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readInt32
public final int readInt32(long whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readUInt32
public final long readUInt32(long whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readInt64
public final long readInt64(long whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readFloat
public final float readFloat(long whereAt)
throws java.io.IOException
- Throws:
java.io.IOException
readDouble
public final double readDouble(long whereAt)
throws java.io.IOException
- Throws:
java.io.IOException