SOURCE DUMP v1

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

View file

@ -0,0 +1,22 @@
using Brutal.Pointers;
namespace Brutal;
public interface ISpanLike : INullable
{
public Ptr Ptr { get; }
public ElementCount Length { get; }
public ByteSize Stride { get; }
public bool IsEmpty { get; }
public Span<T> AsSpan<T>()
where T : unmanaged;
}
public interface ISpanLike<T> : ISpanLike
where T : unmanaged
{
public new Ptr<T> Ptr { get; }
public Span<T> AsSpan();
}