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.
Namespace: KGySoft.Serialization.BinaryAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public Object? Deserialize(
byte[] rawData,
int offset = 0
)
Public Function Deserialize (
rawData As Byte(),
Optional offset As Integer = 0
) As Object
public:
Object^ Deserialize(
array<unsigned char>^ rawData,
int offset = 0
)
member Deserialize :
rawData : byte[] *
?offset : int
(* Defaults:
let _offset = defaultArg offset 0
*)
-> Object
- 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.
ObjectThe deserialized data.