|
ToolsRawDeserializeT Method (Byte, Int32)
|
Deserializes (converts) a byte array to a given structure type.
Namespace:
Accord.Audio
Assembly:
Accord.Audio (in Accord.Audio.dll) Version: 3.8.0
Syntax public static T RawDeserialize<T>(
this byte[] rawData,
int position
)
<ExtensionAttribute>
Public Shared Function RawDeserialize(Of T) (
rawData As Byte(),
position As Integer
) As T
Request Example
View SourceParameters
- rawData
- Type: SystemByte
The byte array containing the serialized object. - position
- Type: SystemInt32
The starting position in the rawData array where the object is located.
Type Parameters
- T
Return Value
Type:
TThe object stored in the byte array.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Remarks
This is a potentiality unsafe operation.
See Also