|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.io.root.core.FastInputStream
Constructor Summary | |
FastInputStream(RootFileReader rfr,
RandomAccessFile raf)
|
Method Summary | |
void |
checkLength(AbstractRootObject obj)
|
void |
clearMap()
|
void |
close()
|
void |
dump()
For debugging |
RootClassFactory |
getFactory()
|
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()
|
int |
readVersion()
|
int |
readVersion(AbstractRootObject obj)
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FastInputStream(RootFileReader rfr, RandomAccessFile raf) throws IOException
Method Detail |
public RootClassFactory getFactory()
getFactory
in interface RootInput
public void setMap(int offset)
setMap
in interface RootInput
public void setPosition(long pos) throws IOException
setPosition
in interface RootInput
IOException
public long getPosition() throws IOException
getPosition
in interface RootInput
IOException
public int getRootVersion()
RootInput
getRootVersion
in interface RootInput
public RootInput getTop()
RootInput
getTop
in interface RootInput
public void checkLength(AbstractRootObject obj) throws IOException
checkLength
in interface RootInput
IOException
public void clearMap()
clearMap
in interface RootInput
public void dump()
RootInput
dump
in interface RootInput
public int readArray(short[] data) throws IOException
readArray
in interface RootInput
IOException
public int readArray(byte[] data) throws IOException
readArray
in interface RootInput
IOException
public int readArray(double[] data) throws IOException
readArray
in interface RootInput
IOException
public int readArray(float[] data) throws IOException
readArray
in interface RootInput
IOException
public int readArray(int[] data) throws IOException
readArray
in interface RootInput
IOException
public boolean readBoolean() throws IOException
readBoolean
in interface DataInput
IOException
public byte readByte() throws IOException
readByte
in interface DataInput
IOException
public char readChar() throws IOException
readChar
in interface DataInput
IOException
public double readDouble() throws IOException
readDouble
in interface DataInput
IOException
public double readTwistedDouble() throws IOException
RootInput
readTwistedDouble
in interface RootInput
IOException
public void readFixedArray(byte[] data) throws IOException
readFixedArray
in interface RootInput
IOException
public void readFixedArray(double[] data) throws IOException
readFixedArray
in interface RootInput
IOException
public void readFixedArray(int[] data) throws IOException
readFixedArray
in interface RootInput
IOException
public void readFixedArray(long[] data) throws IOException
readFixedArray
in interface RootInput
IOException
public void readFixedArray(float[] data) throws IOException
readFixedArray
in interface RootInput
IOException
public void readFixedArray(short[] data) throws IOException
readFixedArray
in interface RootInput
IOException
public float readFloat() throws IOException
readFloat
in interface DataInput
IOException
public void readFully(byte[] values) throws IOException
readFully
in interface DataInput
IOException
public void readFully(byte[] values, int param, int param2) throws IOException
readFully
in interface DataInput
IOException
public int readInt() throws IOException
readInt
in interface DataInput
IOException
public String readLine() throws IOException
readLine
in interface DataInput
IOException
public long readLong() throws IOException
readLong
in interface DataInput
IOException
public void readMultiArray(Object[] array) throws IOException
readMultiArray
in interface RootInput
IOException
public String readNullTerminatedString(int maxLength) throws IOException
readNullTerminatedString
in interface RootInput
IOException
public RootObject readObject(String type) throws IOException
readObject
in interface RootInput
IOException
public RootObject readObjectRef() throws IOException
readObjectRef
in interface RootInput
IOException
public short readShort() throws IOException
readShort
in interface DataInput
IOException
public String readString() throws IOException
readString
in interface RootInput
IOException
public String readUTF() throws IOException
readUTF
in interface DataInput
IOException
public int readUnsignedByte() throws IOException
readUnsignedByte
in interface DataInput
IOException
public int readUnsignedShort() throws IOException
readUnsignedShort
in interface DataInput
IOException
public int readVersion() throws IOException
readVersion
in interface RootInput
IOException
public int readVersion(AbstractRootObject obj) throws IOException
readVersion
in interface RootInput
IOException
public void skipObject() throws IOException
RootInput
skipObject
in interface RootInput
IOException
public int skipBytes(int param) throws IOException
skipBytes
in interface DataInput
IOException
public RootInput slice(int size) throws IOException
RootInput
slice
in interface RootInput
size
- The size of the slice.
IOException
public RootInput slice(int inSize, int outSize) throws IOException
RootInput
slice
in interface RootInput
IOException
public void close() throws IOException
close
in interface RootInput
IOException
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |