This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit b578433e37

13
Brutal.Strings/IString.cs Normal file
View file

@ -0,0 +1,13 @@
namespace Brutal.Strings;
public interface IString<TChar>
where TChar : unmanaged
{
public ReadOnlySpan<TChar> Chars { get; }
public int Length { get; }
public bool IsEmpty { get; }
public TChar this[int index] { get; }
public ReadOnlySpan<TChar> AsSpan();
}