Interface IOReadableWritable

    • Method Detail

      • write

        void write​(DataOutputView out)
            throws IOException
        Writes the object's internal data to the given data output view.
        Parameters:
        out - the output view to receive the data.
        Throws:
        IOException - thrown if any error occurs while writing to the output stream
      • read

        void read​(DataInputView in)
           throws IOException
        Reads the object's internal data from the given data input view.
        Parameters:
        in - the input view to read the data from
        Throws:
        IOException - thrown if any error occurs while reading from the input stream