Class NativeBuffer
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
byteLengthint
Properties
ByteLength
public int ByteLength { get; }
Property Value
Span
public Span<byte> Span { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()