ISupportStreamSerialization Interface

Specifies that an object supports serialization via static Stream operations using object-typed ReadFrom(Stream) and WriteTo(Stream, Object) methods.

Definition

Namespace: Gemstone.IO.Parsing
Assembly: Gemstone.IO (in Gemstone.IO.dll) Version: 1.0.156 -- Release Build+6a9f88f477f6aa18d5026c0c0fcc061b1aaed2d2
public interface ISupportStreamSerialization

Remarks

This interface exists to allow classes to properly define the needed method signatures for using StreamSerializationT operations. However, as long as the ReadFrom(Stream) and WriteTo(Stream, Object) methods exist on a class with the proper signature, actual implementation of this interface is optional.

Properties

UseCustomListSerialization Gets flag that determines if type implementing ISupportStreamSerialization is a list-type and supports its own list serialization handling, i.e., if automated list count and items serialization should be skipped by StreamSerializationT operations.

Methods

ReadFrom Deserializes an object from a Stream.
WriteTo Serializes an object to a Stream.

See Also