Package ucar.unidata.io
Class PositioningDataInputStream
- java.lang.Object
-
- ucar.unidata.io.PositioningDataInputStream
-
@Deprecated public class PositioningDataInputStream extends Object
Deprecated.not part of public API.Similar to a DataInputStream that keeps track of position. position must always increase, no going backwards. cant handle byte order yet - assume big endian(?).- Since:
- Jan 3, 2008
-
-
Constructor Summary
Constructors Constructor Description PositioningDataInputStream(InputStream is)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
read(long pos, byte[] dest, int off, int len)
Deprecated.void
readDouble(long pos, double[] dest, int off, int len)
Deprecated.void
readFloat(long pos, float[] dest, int off, int len)
Deprecated.void
readInt(long pos, int[] dest, int off, int len)
Deprecated.void
readLong(long pos, long[] dest, int off, int len)
Deprecated.void
readShort(long pos, short[] dest, int off, int len)
Deprecated.
-
-
-
Constructor Detail
-
PositioningDataInputStream
public PositioningDataInputStream(InputStream is)
Deprecated.
-
-
Method Detail
-
read
public void read(long pos, byte[] dest, int off, int len) throws IOException
Deprecated.- Throws:
IOException
-
readShort
public void readShort(long pos, short[] dest, int off, int len) throws IOException
Deprecated.- Throws:
IOException
-
readInt
public void readInt(long pos, int[] dest, int off, int len) throws IOException
Deprecated.- Throws:
IOException
-
readLong
public void readLong(long pos, long[] dest, int off, int len) throws IOException
Deprecated.- Throws:
IOException
-
readFloat
public void readFloat(long pos, float[] dest, int off, int len) throws IOException
Deprecated.- Throws:
IOException
-
readDouble
public void readDouble(long pos, double[] dest, int off, int len) throws IOException
Deprecated.- Throws:
IOException
-
-