예제 #1
0
 public static void Deserialize(byte[] buffer, long ofs, object graph)
 {
     if (ListUtils.IsNullOrEmpty <byte>(buffer))
     {
         throw new ArgumentException();
     }
     FixedLengthFormatter.Deserialize(Marshal.UnsafeAddrOfPinnedArrayElement(buffer, 0), ofs, graph);
 }
예제 #2
0
 public static T Deserialize <T>(byte[] buffer)
 {
     return(FixedLengthFormatter.Deserialize <T>(buffer, 0));
 }
예제 #3
0
 public static void Deserialize(byte[] buffer, object graph)
 {
     FixedLengthFormatter.Deserialize(buffer, 0, graph);
 }
예제 #4
0
 public static void Deserialize(IntPtr ptr, object graph)
 {
     FixedLengthFormatter.Deserialize(ptr, 0, graph);
 }