Package com._1c.g5.v8.bm.store
Interface IBmSerializer<T>
- Type Parameters:
T- the type of objects supported by this serializer.
public interface IBmSerializer<T>
Serializer/deserializer interface used by BM components.
-
Method Summary
Modifier and TypeMethodDescriptionDeserializes an object.voidserialize(T object, OutputStream out) Serializes an object.
-
Method Details
-
serialize
Serializes an object.- Parameters:
object- The object to serialize. May not benull.out- The output stream to write the serialized representation to. May not benull.- Throws:
IOException- if any I/O error occurs.
-
deserialize
Deserializes an object.- Parameters:
in- The input stream to read the serialized representation from. May not benull.- Returns:
- the deserialized object. Never
null. - Throws:
IOException- if any I/O error occurs.
-