<PackageReference Include="Apache.Arrow" Version="23.0.0" />

Apache.Arrow.Memory.NativeBuffer<TItem, TTracker>

public sealed class NativeBuffer<TItem, TTracker> : IDisposable where TItem : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where TTracker : struct, INativeAllocationTracker
public Span<byte> ByteSpan { get; }

public int Length { get; }

public Span<TItem> Span { get; }

public NativeBuffer(int elementCount, bool zeroFill = true, TTracker tracker = null)

public ArrowBuffer Build()

public void Dispose()

public void Grow(int newElementCount, bool zeroFill = true)