|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface implemented by input streams that support XDR. The XDR format is almost identical to the normal Java DataInput format, except that items are padded to 4 byte boundaries, and strings are normally stored in ASCII format.
Method Summary | |
void |
pad()
Skips appropriate amount to bring stream to 4-byte boundary. |
double[] |
readDoubleArray(double[] buffer)
Reads a double array. |
float[] |
readFloatArray(float[] buffer)
Reads a float array. |
int[] |
readIntArray(int[] buffer)
Reads an integer array. |
String |
readString()
Read a String. |
String |
readString(int l)
Reads a String of length l bytes, and skips appropriate amount to bring stream to 4-byte boundary. |
Methods inherited from interface java.io.DataInput |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
Method Detail |
public void pad() throws IOException
IOException
public double[] readDoubleArray(double[] buffer) throws IOException
IOException
public float[] readFloatArray(float[] buffer) throws IOException
IOException
public int[] readIntArray(int[] buffer) throws IOException
IOException
public String readString() throws IOException
IOException
public String readString(int l) throws IOException
IOException
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |