internal static bool TryParseInvariant(StringSlice text, out int value) => int.TryParse(text.ToString(), NumberStyles.Integer, InvariantNumberFormat, out value);
public static string ConcatString(string str0, StringSlice str1) => ConcatString(str0, str1.Text, str1.Offset, str1.Length);
public bool Equals(StringSlice other) => Length == other.Length && StringEx.EqualsOffset(Text, Offset, other.Text, other.Offset, Length);
public static void AppendSlice(this StringBuilder builder, StringSlice slice) { builder.Append(slice.Text, slice.Offset, slice.Length); }