| Constructor and Description |
|---|
FastInputStream(RootFileReader rfr,
RandomAccessFile raf) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkLength(AbstractRootObject obj) |
void |
clearMap() |
void |
close() |
void |
dump()
For debugging
|
RootClassFactory |
getFactory() |
int |
getLast() |
long |
getPosition() |
int |
getRootVersion()
Returns the Root version which wrote this file
|
RootInput |
getTop()
Returns the RootInput at the top of top of the heirarchy of slices
|
int |
readArray(byte[] data) |
int |
readArray(double[] data) |
int |
readArray(float[] data) |
int |
readArray(int[] data) |
int |
readArray(short[] data) |
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
void |
readFixedArray(byte[] data) |
void |
readFixedArray(double[] data) |
void |
readFixedArray(float[] data) |
void |
readFixedArray(int[] data) |
void |
readFixedArray(long[] data) |
void |
readFixedArray(short[] data) |
float |
readFloat() |
void |
readFully(byte[] values) |
void |
readFully(byte[] values,
int param,
int param2) |
int |
readInt() |
String |
readLine() |
long |
readLong() |
void |
readMultiArray(Object[] array) |
String |
readNullTerminatedString(int maxLength) |
RootObject |
readObject(String type) |
RootObject |
readObjectRef() |
short |
readShort() |
String |
readString() |
double |
readTwistedDouble()
Reads a double in strange byte order?
|
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
boolean[] |
readVarWidthArrayBoolean()
reads an array of bools.
|
byte[] |
readVarWidthArrayByte() |
double[] |
readVarWidthArrayDouble() |
float[] |
readVarWidthArrayFloat() |
int[] |
readVarWidthArrayInt() |
short[] |
readVarWidthArrayShort() |
int |
readVersion() |
int |
readVersion(AbstractRootObject obj) |
void |
setLast(int last) |
void |
setMap(int offset) |
void |
setPosition(long pos) |
int |
skipBytes(int param) |
void |
skipObject()
For skipping uninterpretable objects
|
RootInput |
slice(int size)
Returns a new RootInput stream which represents a slice of this
RootInput stream.
|
RootInput |
slice(int inSize,
int outSize)
Slice and decompress
|
public FastInputStream(RootFileReader rfr, RandomAccessFile raf) throws IOException
IOExceptionpublic RootClassFactory getFactory()
getFactory in interface RootInputpublic void setPosition(long pos)
throws IOException
setPosition in interface RootInputIOExceptionpublic long getPosition()
throws IOException
getPosition in interface RootInputIOExceptionpublic int getRootVersion()
RootInputgetRootVersion in interface RootInputpublic RootInput getTop()
RootInputpublic void checkLength(AbstractRootObject obj) throws IOException
checkLength in interface RootInputIOExceptionpublic void dump()
RootInputpublic int[] readVarWidthArrayInt()
throws IOException
IOExceptionpublic byte[] readVarWidthArrayByte()
throws IOException
IOExceptionpublic short[] readVarWidthArrayShort()
throws IOException
IOExceptionpublic float[] readVarWidthArrayFloat()
throws IOException
IOExceptionpublic double[] readVarWidthArrayDouble()
throws IOException
IOExceptionpublic boolean[] readVarWidthArrayBoolean()
throws IOException
IOExceptionpublic int readArray(short[] data)
throws IOException
readArray in interface RootInputIOExceptionpublic int readArray(byte[] data)
throws IOException
readArray in interface RootInputIOExceptionpublic int readArray(double[] data)
throws IOException
readArray in interface RootInputIOExceptionpublic int readArray(float[] data)
throws IOException
readArray in interface RootInputIOExceptionpublic int readArray(int[] data)
throws IOException
readArray in interface RootInputIOExceptionpublic boolean readBoolean()
throws IOException
readBoolean in interface DataInputIOExceptionpublic byte readByte()
throws IOException
readByte in interface DataInputIOExceptionpublic char readChar()
throws IOException
readChar in interface DataInputIOExceptionpublic double readDouble()
throws IOException
readDouble in interface DataInputIOExceptionpublic double readTwistedDouble()
throws IOException
RootInputreadTwistedDouble in interface RootInputIOExceptionpublic void readFixedArray(byte[] data)
throws IOException
readFixedArray in interface RootInputIOExceptionpublic void readFixedArray(double[] data)
throws IOException
readFixedArray in interface RootInputIOExceptionpublic void readFixedArray(int[] data)
throws IOException
readFixedArray in interface RootInputIOExceptionpublic void readFixedArray(long[] data)
throws IOException
readFixedArray in interface RootInputIOExceptionpublic void readFixedArray(float[] data)
throws IOException
readFixedArray in interface RootInputIOExceptionpublic void readFixedArray(short[] data)
throws IOException
readFixedArray in interface RootInputIOExceptionpublic float readFloat()
throws IOException
readFloat in interface DataInputIOExceptionpublic void readFully(byte[] values)
throws IOException
readFully in interface DataInputIOExceptionpublic void readFully(byte[] values,
int param,
int param2)
throws IOException
readFully in interface DataInputIOExceptionpublic int readInt()
throws IOException
readInt in interface DataInputIOExceptionpublic String readLine() throws IOException
readLine in interface DataInputIOExceptionpublic long readLong()
throws IOException
readLong in interface DataInputIOExceptionpublic void readMultiArray(Object[] array) throws IOException
readMultiArray in interface RootInputIOExceptionpublic String readNullTerminatedString(int maxLength) throws IOException
readNullTerminatedString in interface RootInputIOExceptionpublic RootObject readObject(String type) throws IOException
readObject in interface RootInputIOExceptionpublic RootObject readObjectRef() throws IOException
readObjectRef in interface RootInputIOExceptionpublic short readShort()
throws IOException
readShort in interface DataInputIOExceptionpublic String readString() throws IOException
readString in interface RootInputIOExceptionpublic String readUTF() throws IOException
readUTF in interface DataInputIOExceptionpublic int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputIOExceptionpublic int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputIOExceptionpublic int readVersion()
throws IOException
readVersion in interface RootInputIOExceptionpublic int readVersion(AbstractRootObject obj) throws IOException
readVersion in interface RootInputIOExceptionpublic void skipObject()
throws IOException
RootInputskipObject in interface RootInputIOExceptionpublic int skipBytes(int param)
throws IOException
skipBytes in interface DataInputIOExceptionpublic RootInput slice(int size) throws IOException
RootInputslice in interface RootInputsize - The size of the slice.IOExceptionpublic RootInput slice(int inSize, int outSize) throws IOException
RootInputslice in interface RootInputIOExceptionpublic void close()
throws IOException
close in interface RootInputIOExceptionJas4pp 1.5 © Java Analysis Studio for Particle Physics