IBinarySerializableSerialize Method

Serializes the object into a byte array.

Definition

Namespace: KGySoft.Serialization.Binary
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
byte[] Serialize(
	BinarySerializationOptions options
)

Parameters

options  BinarySerializationOptions
Options used for the serialization.

Return Value

Byte
The byte data representation of the object that can be used to restore the original object state by the Deserialize method.

See Also