BinaryInputStream
jhplot.math.io

Class BinaryInputStream

    • Field Detail

      • LITTLE_ENDIAN

        public static String LITTLE_ENDIAN
      • BIG_ENDIAN

        public static String BIG_ENDIAN
    • Constructor Detail

      • BinaryInputStream

        public BinaryInputStream(InputStream in,                 boolean endian)
    • Method Detail

      • readDoubleArray

        public static double[] readDoubleArray(InputStream in,                       String endian)
      • readFloatArray

        public static float[] readFloatArray(InputStream in,                     String endian)
      • readIntArray

        public int[] readIntArray()
        Read a binary File
        Returns:
        int[]
      • readFloatArray

        public float[] readFloatArray()
        Read a binary File
        Returns:
        float[]
      • readDoubleArray

        public double[] readDoubleArray()
        Read a binary File
        Returns:
        double[]
      • readDoubleArray

        public double[] readDoubleArray(int n1,                       int n2)
        Read a binary File
        Returns:
        double[]
      • readByteArray

        public byte[] readByteArray()
        Read a binary File
        Returns:
        byte[]
      • readInt

        public int readInt()
        Read a binary File
        Returns:
        int
      • readFloat

        public float readFloat()
        Read a binary File
        Returns:
        float
      • readDouble

        public double readDouble()
        Read a binary File
        Returns:
        double
      • readByte

        public byte readByte()
        Read a binary File
        Returns:
        byte
      • read

        public int read()
        Read a binary File
        Specified by:
        read in class InputStream
        Returns:
        byte

SCaVis 1.8 © jWork.org