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 AsSpan() where T : unmanaged; } public interface ISpanLike : ISpanLike where T : unmanaged { public new Ptr Ptr { get; } public Span AsSpan(); }