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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Tdeserialize(InputStream in)Deserializes an object.voidserialize(T object, OutputStream out)Serializes an object.
 
- 
- 
- 
Method Detail- 
serializevoid serialize(T object, OutputStream out) throws IOException Serializes an object.- Parameters:
- object- The object to serialize. May not be- null.
- out- The output stream to write the serialized representation to. May not be- null.
- Throws:
- IOException- if any I/O error occurs.
 
 - 
deserializeT deserialize(InputStream in) throws IOException Deserializes an object.- Parameters:
- in- The input stream to read the serialized representation from. May not be- null.
- Returns:
- the deserialized object. Never null.
- Throws:
- IOException- if any I/O error occurs.
 
 
- 
 
-