by
84k 18
0
5
534
0
Top 5% !
Popular
Tagged
Specified
Refined
Popularity: 146549th place

Published on:

Architecturex86_64
InputName0rawData
InputType0byte[]
LanguageC#
MethodNameRawDeserialize
OutputTypeT
Windows VersionWindows7

RawDeserialize: Deserializes (converts) a byte array to a given structure type.

Deserializes (converts) a byte array to a given structure type.

 
<remarks>
 This is a potentiality unsafe operation.
</remarks>
 
<param name="rawData">The byte array containing the serialized object.</param>
<returns>The object stored in the byte array.</returns>
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/1382862/RawDeserialize--Deserializes-(converts)-?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
/// <summary> /// Deserializes (converts) a byte array to a given structure type. /// </summary> /// /// <remarks> /// This is a potentiality unsafe operation. /// </remarks> /// /// <param name="rawData">The byte array containing the serialized object.</param> /// <returns>The object stored in the byte array.</returns> /// public static T RawDeserialize<T>(this byte[] rawData) { return RawDeserialize<T>(rawData, 0); }
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus