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 TypeMethodDescriptionvoidwrite(T object, OutputStream output) Writes an object to the output stream.
-
Method Details
-
write
Writes an object to the output stream.- Parameters:
object- the object to writeoutput- the output stream- Throws:
IOException- if an error occurs
-