FontBuffer Class

A buffer rented from a FontAllocator. Disposing it returns its storage.

public abstract class FontBuffer : IDisposable
Implements

Constructors

NameDescription
FontBuffer()

FontBuffer()

protected FontBuffer()

No documentation is available.

Properties

NameDescription
LengthGets the length of the buffer, in bytes.
SpanGets the bytes of the buffer.

Length

Gets the length of the buffer, in bytes.

public abstract int Length { get; }

Property value

int

Span

Gets the bytes of the buffer.

public abstract Span<byte> Span { get; }

Property value

Span<byte>

Exceptions

ObjectDisposedException
The buffer was returned.

Methods

NameDescription
Dispose()Returns the storage of the buffer.

Dispose()

Returns the storage of the buffer.

public abstract void Dispose()