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
    Deprecated.
     
  • Method Summary

    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.
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PositioningDataInputStream

      public PositioningDataInputStream(InputStream is)
      Deprecated.
  • Method Details

    • 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