Class 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 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