brutal/Brutal.Strings/IString.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

13 lines
286 B
C#

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();
}