Interface GridClientMarshaller

    • Method Detail

      • marshal

        ByteBuffer marshal​(Object obj,
                           int off)
                    throws IOException
        Marshals object to byte array.
        Parameters:
        obj - Object to marshal.
        off - Start offset.
        Returns:
        Byte buffer.
        Throws:
        IOException - If marshalling failed.
      • unmarshal

        <T> T unmarshal​(byte[] bytes)
                 throws IOException
        Unmarshals object from byte array.
        Parameters:
        bytes - Byte array.
        Returns:
        Unmarshalled object.
        Throws:
        IOException - If unmarshalling failed.