Click or drag to resize
Accord.NET (logo)

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
public static T RawDeserialize<T>(
	this byte[] rawData,
	int position
Request Example View Source


Type: SystemByte
The byte array containing the serialized object.
Type: SystemInt32
The starting position in the rawData array where the object is located.

Type Parameters


Return Value

Type: T
The 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).
This is a potentiality unsafe operation.
See Also