Interface Serializer<T>

All Known Implementing Classes:
OpenMathWriter

public interface Serializer<T>
Interface for serializing objects to a stream.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(T object, OutputStream output)
    Writes an object to the output stream.
  • Method Details

    • write

      void write(T object, OutputStream output) throws IOException
      Writes an object to the output stream.
      Parameters:
      object - the object to write
      output - the output stream
      Throws:
      IOException - if an error occurs