Table of Contents

Class NativeBuffer

Namespace
Maplibre.NativeFfi.Render
Assembly
Maplibre.NativeFfi.dll

Owned off-heap byte buffer for reusable native I/O.

public sealed class NativeBuffer : IDisposable
Inheritance
NativeBuffer
Implements
Inherited Members

Constructors

NativeBuffer(int)

public NativeBuffer(int byteLength)

Parameters

byteLength int

Properties

ByteLength

public int ByteLength { get; }

Property Value

int

Span

public Span<byte> Span { get; }

Property Value

Span<byte>

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()