Interface ObjectSerialiser

    • Method Detail

      • writeObject

        @NotNull
        @NotNull OutputStream writeObject​(Object object,
                                          OutputStream outputStream)
                                   throws IOException
        Writes an object to the supplied stream. Returns a stream that should be used for subsequent calls, or closed if no longer needed. It may be the same stream or a wrapped stream.
        Throws:
        IOException
      • getTag

        int getTag()
        Returns an unique identifier for this object serialiser