BinarySerializationFormatterDeserializeT(Byte, IEnumerableType) Method
Namespace: KGySoft.Serialization.BinaryAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public T Deserialize<T>(
byte[] rawData,
IEnumerable<Type>? expectedCustomTypes
)
Public Function Deserialize(Of T) (
rawData As Byte(),
expectedCustomTypes As IEnumerable(Of Type)
) As T
public:
generic<typename T>
T Deserialize(
array<unsigned char>^ rawData,
IEnumerable<Type^>^ expectedCustomTypes
)
member Deserialize :
rawData : byte[] *
expectedCustomTypes : IEnumerable<Type> -> 'T
- rawData Byte
- Contains the raw data representation of the object to deserialize.
- expectedCustomTypes IEnumerableType
- 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 can be .
- T
- The expected type of the result.
TThe deserialized instance of
T.