IBinarySerializableDeserialize Method

Deserializes the inner state of the object from a byte array. Called only when the implementer does not have a constructor with (BinarySerializationOptions, byte[]) parameters. Without such constructor parameterless constructor will be called if any (otherwise, no constructors will be executed). The special constructor should be used if the class has read-only fields to be restored.

Definition

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

Parameters

options  BinarySerializationOptions
Options used for the deserialization.
serData  Byte
Serialized raw data of the object created by the Serialize method.

See Also