BinarySerializationFormatterDeserialize(Byte, Type) Method
Namespace: KGySoft.Serialization.BinaryAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public Object? Deserialize(
byte[] rawData,
params Type[]? expectedCustomTypes
)
Public Function Deserialize (
rawData As Byte(),
ParamArray expectedCustomTypes As Type()
) As Object
public:
Object^ Deserialize(
array<unsigned char>^ rawData,
... array<Type^>^ expectedCustomTypes
)
member Deserialize :
rawData : byte[] *
expectedCustomTypes : Type[] -> Object
- rawData Byte
- Contains the raw data representation of the object to deserialize.
- expectedCustomTypes Type
- The types that are expected to present in rawData by name.
If SafeMode is not enabled in Options
or rawData does not contain any types by name, then this parameter is optional.
ObjectThe deserialized object.