public bool Equals(NativeString4096 other) { unsafe { fixed(char *c = buffer) return(NativeString.Equals(c, Length, other.buffer, other.Length)); } }
public int CompareTo(NativeString4096 other) { unsafe { fixed(char *b = buffer) return(NativeString.CompareTo(b, Length, other.buffer, other.Length)); } }
public bool Equals(NativeString64 other) { unsafe { fixed(uint *b = buffer) { var c = (char *)b; return(NativeString.Equals(c, Length, (char *)other.buffer, other.Length)); } } }
public int CompareTo(NativeString64 other) { unsafe { fixed(uint *b = buffer) { var c = (char *)b; return(NativeString.CompareTo(c, Length, (char *)other.buffer, other.Length)); } } }
public ParseError Parse(ref int offset, ref float output, char decimalSeparator = '.') { unsafe { fixed(uint *b = buffer) { var c = (char *)b; NativeString temp = new NativeString { buffer = c, Length = Length, Capacity = MaxLength }; return(temp.Parse(ref offset, ref output, decimalSeparator)); } } }
public FormatError Format(float input, char decimalSeparator = '.') { unsafe { fixed(uint *b = buffer) { var c = (char *)b; NativeString temp = new NativeString { buffer = c, Length = Length, Capacity = MaxLength }; var error = temp.Format(input, decimalSeparator); Length = temp.Length; return(error); } } }