Interface BinaryObjectSerializer


public interface BinaryObjectSerializer
Interface for writing objects to a stream.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes the underylying stream after first flushing it.
    void
    Flushes the underlying stream.
    void
    Writes the next object to the stream.
  • Method Details

    • writeObject

      void writeObject(Object object)
      Writes the next object to the stream.
      Parameters:
      object - The object to write.
      See Also:
    • flush

      void flush()
      Flushes the underlying stream.
    • close

      void close()
      Closes the underylying stream after first flushing it.