System.Buffers Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
ArrayBufferWriter<T> |
Represents a heap-based, array-backed output sink into which |
ArrayPool<T> |
Provides a resource pool that enables reusing instances of type T[]. |
BuffersExtensions |
Provides extension methods for ReadOnlySequence<T>. |
MemoryManager<T> |
An abstract base class that is used to replace the implementation of Memory<T>. |
MemoryPool<T> |
Represents a pool of memory blocks. |
ReadOnlySequenceSegment<T> |
Represents a linked list of ReadOnlyMemory<T> nodes. |
SearchValues |
Provides a set of initialization methods for instances of the SearchValues<T> class. |
SearchValues<T> |
Provides an immutable, read-only set of values optimized for efficient searching. Instances are created by Create(ReadOnlySpan<Byte>) or Create(ReadOnlySpan<Char>). |
SequenceReaderExtensions |
Provides extended functionality for the SequenceReader<T> class that allows reading of endian specific numeric values from binary data. |
Structs
MemoryHandle |
Provides a memory handle for a block of memory. |
NIndex |
Represent a type can be used to index a collection either from the start or the end. |
NRange |
Represent a range that has start and end indices. |
ReadOnlySequence<T>.Enumerator |
Represents an enumerator over a ReadOnlySequence<T>. |
ReadOnlySequence<T> |
Represents a sequence that can read a sequential series of |
SequenceReader<T> |
Provides methods for reading binary and text data out of a ReadOnlySequence<T> with a focus on performance and minimal or zero heap allocations. |
StandardFormat |
Represents a standard format string without using an actual string. |
Interfaces
IBufferWriter<T> |
Represents an output sink into which |
IMemoryOwner<T> |
Identifies the owner of a block of memory who is responsible for disposing of the underlying memory appropriately. |
IPinnable |
Provides a mechanism for pinning and unpinning objects to prevent the garbage collector from moving them. |
Enums
OperationStatus |
Defines the values that can be returned from span-based operations that support processing of input contained in multiple discontiguous buffers. |
Delegates
ReadOnlySpanAction<T,TArg> |
Encapsulates a method that receives a read-only span of objects of type |
SpanAction<T,TArg> |
Encapsulates a method that receives a span of objects of type |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for