Interface GridDataInput

    • Method Detail

      • bytes

        void bytes​(byte[] bytes,
                   int len)
        Parameters:
        bytes - Bytes.
        len - Length.
      • read

        int read()
          throws IOException
        Returns:
        The next byte of data, or -1 if the end of the stream is reached.
        Throws:
        IOException - In case of error.
      • read

        int read​(byte[] b)
          throws IOException
        Parameters:
        b - Buffer into which the data is read.
        Returns:
        Total number of bytes read into the buffer, or -1 is there is no more data because the end of the stream has been reached.
        Throws:
        IOException - In case of error.
      • read

        int read​(byte[] b,
                 int off,
                 int len)
          throws IOException
        Parameters:
        b - Buffer into which the data is read.
        off - Start offset.
        len - Maximum number of bytes to read.
        Returns:
        Total number of bytes read into the buffer, or -1 is there is no more data because the end of the stream has been reached.
        Throws:
        IOException - In case of error.
      • readByteArray

        byte[] readByteArray()
                      throws IOException
        Reads array of bytes.
        Returns:
        Array.
        Throws:
        IOException - In case of error.
      • readShortArray

        short[] readShortArray()
                        throws IOException
        Reads array of shorts.
        Returns:
        Array.
        Throws:
        IOException - In case of error.
      • readIntArray

        int[] readIntArray()
                    throws IOException
        Reads array of ints.
        Returns:
        Array.
        Throws:
        IOException - In case of error.
      • readLongArray

        long[] readLongArray()
                      throws IOException
        Reads array of longs.
        Returns:
        Array.
        Throws:
        IOException - In case of error.
      • readFloatArray

        float[] readFloatArray()
                        throws IOException
        Reads array of floats.
        Returns:
        Array.
        Throws:
        IOException - In case of error.
      • readDoubleArray

        double[] readDoubleArray()
                          throws IOException
        Reads array of doubles.
        Returns:
        Array.
        Throws:
        IOException - In case of error.
      • readBooleanArray

        boolean[] readBooleanArray()
                            throws IOException
        Reads array of booleans.
        Returns:
        Array.
        Throws:
        IOException - In case of error.
      • readCharArray

        char[] readCharArray()
                      throws IOException
        Reads array of chars.
        Returns:
        Array.
        Throws:
        IOException - In case of error.