Interface GridDataOutput

    • Method Detail

      • outputStream

        void outputStream​(OutputStream out)
        Parameters:
        out - Underlying stream.
      • array

        byte[] array()
        Returns:
        Copy of internal array shrunk to offset.
      • internalArray

        byte[] internalArray()
        Returns:
        Internal array.
      • offset

        int offset()
        Returns:
        Offset.
      • offset

        void offset​(int off)
        Parameters:
        off - Offset.
      • reset

        void reset()
        Resets data output.
      • writeByteArray

        void writeByteArray​(byte[] arr)
                     throws IOException
        Writes array of bytes.
        Parameters:
        arr - Array.
        Throws:
        IOException - In case of error.
      • writeShortArray

        void writeShortArray​(short[] arr)
                      throws IOException
        Writes array of shorts.
        Parameters:
        arr - Array.
        Throws:
        IOException - In case of error.
      • writeIntArray

        void writeIntArray​(int[] arr)
                    throws IOException
        Writes array of ints.
        Parameters:
        arr - Array.
        Throws:
        IOException - In case of error.
      • writeLongArray

        void writeLongArray​(long[] arr)
                     throws IOException
        Writes array of longs.
        Parameters:
        arr - Array.
        Throws:
        IOException - In case of error.
      • writeFloatArray

        void writeFloatArray​(float[] arr)
                      throws IOException
        Writes array of floats.
        Parameters:
        arr - Array.
        Throws:
        IOException - In case of error.
      • writeDoubleArray

        void writeDoubleArray​(double[] arr)
                       throws IOException
        Writes array of doubles.
        Parameters:
        arr - Array.
        Throws:
        IOException - In case of error.
      • writeBooleanArray

        void writeBooleanArray​(boolean[] arr)
                        throws IOException
        Writes array of booleans.
        Parameters:
        arr - Array.
        Throws:
        IOException - In case of error.
      • writeCharArray

        void writeCharArray​(char[] arr)
                     throws IOException
        Writes array of chars.
        Parameters:
        arr - Array.
        Throws:
        IOException - In case of error.