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.
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
BufferWriterReference<T>
Represents indirection layer for IBufferWriter<T> instance.
BufferWriterSlim<T>
Represents stack-allocated buffer writer.
MemoryOwner<T>
Represents unified representation of the memory rented using various types of memory pools.
ReadOnlySpanConsumer<T, TContext>
Represents implementation of IConsumer<T> and ISupplier<T1, T2, TResult> interfaces that delegates invocation to the delegate of type ReadOnlySpanAction<T, TArg>.
SequenceReader
Represents binary reader for the sequence of bytes.
SequenceReader.DecodingEnumerable
Represents decoding enumerable.
SequenceReader.DecodingEnumerable.Enumerator
Represents enumerator over decoded characters.
SequenceReader.SpanDecodingEnumerable
Represents decoding enumerable.
SequenceReader.SpanDecodingEnumerable.Enumerator
Represents enumerator over decoded characters.
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>.
Enums
SparseBufferGrowth
Determines how the size of the subsequent memory chunk must be calculated.
Delegates
MemoryAllocator<T>
Represents memory allocator.