.NET API Reference for Oracle Identity Connector Framework 11.1.2
E41516-01
Creates a
 Copy imageCopy
BinaryObjectSerializer
for writing objects to the given stream.

Namespace: Org.IdentityConnectors.Framework.Common.Serializer
Assembly: Framework (in Framework.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public abstract BinaryObjectSerializer NewBinarySerializer(
	Stream os
)

Parameters

os
Type: System.IO..::..Stream
The stream

Return Value

Type: BinaryObjectSerializer
The serializer

Remarks

NOTE: consider using SerializeBinaryObject(Object) for convenience serializing a single object. NOTE2: do not mix and match SerializeBinaryObject(Object) with {NewBinaryDeserializer(Stream). This is unsafe since there is header information and state associated with the stream. Objects written using one method must be read using the proper corresponding method.

See Also