Пример #1
0
 public NativeString4096(ref NativeString512 source)
 {
     Length = 0;
     unsafe
     {
         CopyFrom(source.GetUnsafePtr(), source.Length);
     }
 }
Пример #2
0
        public NativeString64(ref NativeString512 source)
        {
            Length = source.Length;
            unsafe
            {
                fixed(uint *b = buffer)
                {
                    var c = (char *)b;

                    source.CopyTo(c, MaxLength);
                }
            }
        }