mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
13 lines
286 B
C#
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();
|
|
}
|