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

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