Initial upload;

This commit is contained in:
2025-03-25 00:55:48 +09:00
commit aa1e9e6b1d
23 changed files with 1621 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
namespace Misaki.HighPerformance.Unsafe.Collections.Contracts;
public unsafe interface IUnsafeCollection<T> : IDisposable where T : unmanaged
{
public T* Buffer
{
get;
}
public int Size
{
get;
}
public ref T this[int index]
{
get;
}
public void Clear();
public void ReAlloc(int newSize);
}