FixedSizeBuffers

Namespace FixedSizeBuffers

Classes

FixedSizeBuffer1024<T>

A fixed size buffer of length 1024.

FixedSizeBuffer128<T>

A fixed size buffer of length 128.

FixedSizeBuffer16<T>

A fixed size buffer of length 16.

FixedSizeBuffer2<T>

A fixed size buffer of length 2.

FixedSizeBuffer2048<T>

A fixed size buffer of length 2048.

FixedSizeBuffer256<T>

A fixed size buffer of length 256.

FixedSizeBuffer32<T>

A fixed size buffer of length 32.

FixedSizeBuffer4<T>

A fixed size buffer of length 4.

FixedSizeBuffer4096<T>

A fixed size buffer of length 4096.

FixedSizeBuffer512<T>

A fixed size buffer of length 512.

FixedSizeBuffer64<T>

A fixed size buffer of length 64.

FixedSizeBuffer8<T>

A fixed size buffer of length 8.

FixedSizeBuffer8192<T>

A fixed size buffer of length 8192.

FixedSizeBufferExtensions

Extension methods for fixed size buffers.

SpanAction<T>

A function which receives a Span<T>

SpanAction<T, U>

A function which receives a Span<T> and an additional state object.

SpanFunc<T, R>

A function which receives a Span<T> and an additional state object.

SpanFunc<T, U, R>

A function which receives a Span<T> and an additional state object.

WithFixedSizeBuffer<T>

Methods for running a function in the context of a stack-allocated buffer

Interfaces

IFixedSizeBuffer<T>

An interface for operations on fixed size buffers.

NB: You probably don't want to mention this interface directly (don't box the buffer!). Use it as a type parameter constraint instead (where TBuffer : IFixedSizeBuffer<T>).