BinarySerializationFormatterDeserialize(Byte, Int32, IEnumerableType) Method
Namespace: KGySoft.Serialization.BinaryAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public Object? Deserialize(
byte[] rawData,
int offset,
IEnumerable<Type>? expectedCustomTypes
)
Public Function Deserialize (
rawData As Byte(),
offset As Integer,
expectedCustomTypes As IEnumerable(Of Type)
) As Object
public:
Object^ Deserialize(
array<unsigned char>^ rawData,
int offset,
IEnumerable<Type^>^ expectedCustomTypes
)
member Deserialize :
rawData : byte[] *
offset : int *
expectedCustomTypes : IEnumerable<Type> -> Object
- rawData Byte
- Contains the raw data representation of the object to deserialize.
- offset Int32
- Points to the starting position of the object data in rawData.
- 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 .
ObjectThe deserialized object.