BinarySerializationFormatterDeserialize(Byte, Int32) Method

Deserializes the specified part of a byte array into an object. If SafeMode is enabled in Options and rawData contains natively not supported types by name, then you should use the other overloads to specify the expected types.
See the Remarks section of the DeserializeT(Byte, Int32, Type) overload for details.

Definition

Namespace: KGySoft.Serialization.Binary
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public Object? Deserialize(
	byte[] rawData,
	int offset = 0
)

Parameters

rawData  Byte
Contains the raw data representation of the object to deserialize.
offset  Int32  (Optional)
Points to the starting position of the object data in rawData. This parameter is optional.
Default value: 0.

Return Value

Object
The deserialized data.

See Also