BinarySerializerDeserialize(Byte, Int32, Type) Method
Namespace: KGySoft.Serialization.BinaryAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public static Object? Deserialize(
byte[] rawData,
int offset,
params Type[]? expectedCustomTypes
)
Public Shared Function Deserialize (
rawData As Byte(),
offset As Integer,
ParamArray expectedCustomTypes As Type()
) As Object
public:
static Object^ Deserialize(
array<unsigned char>^ rawData,
int offset,
... array<Type^>^ expectedCustomTypes
)
static member Deserialize :
rawData : byte[] *
offset : int *
expectedCustomTypes : 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 Type
- The types that are expected to present in rawData by name.
If rawData does not contain any types by name, then this parameter is optional.
ObjectThe deserialized object.