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.
Namespace: KGySoft.Serialization.BinaryAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
void Deserialize(
BinarySerializationOptions options,
byte[] serData
)
Sub Deserialize (
options As BinarySerializationOptions,
serData As Byte()
)
void Deserialize(
BinarySerializationOptions options,
array<unsigned char>^ serData
)
abstract Deserialize :
options : BinarySerializationOptions *
serData : byte[] -> unit
Parameters
- options BinarySerializationOptions
- Options used for the deserialization.
- serData Byte
- Serialized raw data of the object created by the Serialize method.