Beispiel #1
0
 public int CompareTo(NativeString4096 other)
 {
     unsafe
     {
         fixed(char *b = buffer)
         return(NativeString.CompareTo(b, Length, other.buffer, other.Length));
     }
 }
Beispiel #2
0
        public int CompareTo(NativeString64 other)
        {
            unsafe
            {
                fixed(uint *b = buffer)
                {
                    var c = (char *)b;

                    return(NativeString.CompareTo(c, Length, (char *)other.buffer, other.Length));
                }
            }
        }