mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
13
Brutal.Strings/IString.cs
Normal file
13
Brutal.Strings/IString.cs
Normal 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();
|
||||
}
|
||||
Loading…
Reference in a new issue