public unsafe bool Equals(SmallString4 rhs) { byte *m = rhs.payload_; fixed(byte *n = payload_) return(SmallStringMethods.Equals(n, m, MaxLength)); }
/* Implements the same order as in D */ public unsafe int CompareTo(SmallString128 rhs) { byte *m = rhs.payload_; fixed(byte *n = payload_) return(SmallStringMethods.Compare(n, m, MaxLength)); }
public static unsafe bool TryConvert(string value, out SmallString128 s) { fixed(byte *n = s.payload_) return(SmallStringMethods.TryFromString(n, MaxLength, value)); }
public unsafe SmallString128(string value) { fixed(byte *n = payload_) SmallStringMethods.FromString(n, MaxLength, value); }