Namespace DotNext.Buffers
Classes
BufferHelpers
Represents helper methods to work with various buffer representations.
BufferWriter
Represents extension methods for writting typed data into buffer.
BufferWriterSlim
Provides extension methods for BufferWriterSlim<T> type.
ChunkSequence
Represents extension methods for ChunkSequence<T>.
MemoryAllocator
Represents interop layer between .NET memory pools and MemoryAllocator<T>.
MemoryTemplate
Represents various extensions for MemoryTemplate<T> type.
MemoryWriter<T>
Represents memory-backed output sink which T
data can be written.
PooledArrayBufferWriter
Represents extension methods for PooledArrayBufferWriter<T> class.
PooledArrayBufferWriter<T>
Represents memory writer that is backed by the array obtained from the pool.
PooledBufferWriter<T>
Represents memory writer that uses pooled memory.
SequenceBuilder<T>
Represents builder of non-contiguous memory buffer.
SpanReader
Represents extension methods for SpanReader<T> type.
SpanWriter
Represents extension methods for SpanWriter<T> type.
SparseBufferWriter<T>
Represents builder of the sparse memory buffer.
UnmanagedMemoryPool<T>
Represents pool of unmanaged memory.
Structs
ArrayRental<T>
Represents array obtained from array pool.
BufferWriterSlim<T>
Represents stack-allocated buffer builder.
ChunkSequence<T>
Represents sequence of memory chunks.
ChunkSequence<T>.Enumerator
Represents enumerator of memory chunks.
MemoryOwner<T>
Represents unified representation of the memory rented using various types of memory pools.
MemoryRental<T>
Represents the memory obtained from the pool or allocated on the stack or heap.
MemoryTemplate<T>
Represents generic template for buffer rendering.
SpanReader<T>
Represents simple memory reader backed by ReadOnlySpan<T>.
SpanWriter<T>
Represents simple memory writer backed by Span<T>.
SparseBufferWriter<T>.Enumerator
Represents enumerator over memory segments.
Interfaces
IFlushableBufferWriter<T>
Represents buffer writer that supports flushing.
IGrowableBuffer<T>
Represents common interface for growable buffer writers.
IReadOnlySequenceSource<T>
Represents disposable source of ReadOnlySequence<T>.
IUnmanagedMemoryOwner<T>
Represents unmanaged memory access that allows to obtain Memory<T> pointing to the unmanaged memory.
Delegates
MemoryAllocator<T>
Represents memory allocator.