edu.swri.swiftvis.util
Class BinaryInput
java.lang.Object
edu.swri.swiftvis.util.BinaryInput
public class BinaryInput
- extends java.lang.Object
This class is intended to help other parts of the code read in data that is
in a FORTRAN binary file. When using this, keep in mind that FORTRAN writes
fields with headers and footers that tell you how many bytes are in the
field.
Field Summary |
private java.io.DataInput |
wrapped
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wrapped
private java.io.DataInput wrapped
BinaryInput
public BinaryInput(java.io.DataInput di)
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
readJavaReal4
public double readJavaReal4()
throws java.io.IOException
- Throws:
java.io.IOException
readJavaReal8
public double readJavaReal8()
throws java.io.IOException
- Throws:
java.io.IOException
readReal4
public double readReal4()
throws java.io.IOException
- Throws:
java.io.IOException
readReal8
public double readReal8()
throws java.io.IOException
- Throws:
java.io.IOException
readXDR4
public double readXDR4()
throws java.io.IOException
- Throws:
java.io.IOException
readXDR8
public double readXDR8()
throws java.io.IOException
- Throws:
java.io.IOException
readInt8
public long readInt8()
throws java.io.IOException
- Throws:
java.io.IOException
readInt4
public int readInt4()
throws java.io.IOException
- Throws:
java.io.IOException
readInt2
public int readInt2()
throws java.io.IOException
- Throws:
java.io.IOException
readJavaInt4
public int readJavaInt4()
throws java.io.IOException
- Throws:
java.io.IOException
readJavaInt2
public int readJavaInt2()
throws java.io.IOException
- Throws:
java.io.IOException