namespace ServicePoint; public sealed partial class BitVec { public static BitVec Load(Span bytes) { unsafe { fixed (byte* bytesPtr = bytes) { return Load(bytesPtr, (nuint)bytes.Length); } } } public bool this[nuint index] { get => Get(index); set => Set(index, value); } public Span Data => UnsafeDataRef().AsSpan(); }