示例#1
0
 public unsafe int Write(TElement[] value, ref DirectBuffer destination)
 {
     destination.Write(0, value.Length);
     if (value.Length > 0)
     {
         ref var srcRef = ref As <TElement, byte>(ref value[0]);
         ref var dstRef = ref AsRef <byte>(destination.Data + 4);