Namespace DotNext.Buffers
Classes
BufferWriter
Represents extension methods for writing typed data into buffer.
BufferWriter<T>
Represents memory-backed output sink which T
data can be written.
ByteBuffer
Providers extension methods to work with byte buffers.
CharBuffer
Providers extension methods to work with char buffers.
Memory
Represents methods to work with memory pools and buffers.
PoolingArrayBufferWriter<T>
Represents memory writer that is backed by the array obtained from the pool.
PoolingBufferWriter<T>
Represents memory writer that uses pooled memory.
ReadOnlySequencePartitioner
Represents factory of Partitioner<TSource> objects for ReadOnlySequence<T>.
SequenceBuilder<T>
Represents builder of non-contiguous memory buffer.
SparseBufferWriter<T>
Represents builder of the sparse memory buffer.
UnmanagedMemory
Provides native memory allocation facilities.
UnmanagedMemoryPool<T>
Represents pool of unmanaged memory.
Structs
BufferConsumer<T>
Represents implementation of IReadOnlySpanConsumer<T> in the form of the writer to IBufferWriter<T>.
BufferWriterSlim<T>
Represents stack-allocated buffer writer.
DelegatingReadOnlySpanConsumer<T, TArg>
Represents implementation of IReadOnlySpanConsumer<T> that delegates invocation to the delegate of type ReadOnlySpanAction<T, TArg>.
MemoryOwner<T>
Represents unified representation of the memory rented using various types of memory pools.
ReadOnlySpanConsumer<T, TArg>
Represents typed function pointer implementing IReadOnlySpanConsumer<T>.
SpanOwner<T>
Represents the memory obtained from the pool or allocated on the stack or heap.
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
IBufferReader
Represents buffer reader.
IGrowableBuffer<T>
Represents common interface for growable buffer writers.
IReadOnlySequenceSource<T>
Represents disposable source of ReadOnlySequence<T>.
IReadOnlySpanConsumer<T>
Represents functional interface returning no value and accepting the single argument of type ReadOnlySpan<T>.
Enums
SparseBufferGrowth
Determines how the size of the subsequent memory chunk must be calculated.
Delegates
MemoryAllocator<T>
Represents memory allocator.
ReadOnlySpanFunc<T, TArg, TResult>
Represents ReadOnlySpanAction<T, TArg> counterpart with return value.