Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
System.Memory
System Library
| Author | Microsoft |
| Version | 10.0.1 |
| Tags |
Public Types
System
class MemoryExtensions
Provides extension methods for the memory-related and span-related types, such as <see cref="T:System.Memory`1" /> , <see cref="T:System.ReadOnlyMemory`1" /> , <see cref="T:System.Span`1" /> , and <see cref="T:System.ReadOnlySpan`1" /> .
struct SequencePosition
Represents a position in a non-contiguous set of memory. Properties of this type should not be interpreted by anything but the type that created it.
System.​Buffers
class ArrayBufferWriter<​T>
Represents a heap-based, array-backed output sink into which <typeparamref name="T" /> data can be written.
class BuffersExtensions
Provides extension methods for <see cref="T:System.Buffers.ReadOnlySequence`1" /> .
interface IBufferWriter<​T>
Represents an output sink into which <typeparamref name="T" /> data can be written.
class MemoryPool<​T>
Represents a pool of memory blocks.
struct ReadOnlySequence<​T>
Represents a sequence that can read a sequential series of <typeparamref name="T" /> .
class ReadOnlySequenceSegment<​T>
Represents a linked list of <see cref="T:System.ReadOnlyMemory`1" /> nodes.
struct SequenceReader<​T>
Provides methods for reading binary and text data out of a <see cref="T:System.Buffers.ReadOnlySequence`1" /> with a focus on performance and minimal or zero heap allocations.
class SequenceReaderExtensions
Provides extended functionality for the <see cref="T:System.Buffers.SequenceReader`1" /> class that allows reading of endian specific numeric values from binary data.
struct StandardFormat
Represents a standard format string without using an actual string.
System.​Buffers.​Binary
class BinaryPrimitives
Reads bytes as primitives with specific endianness.
System.​Buffers.​Text
class Utf8Formatter
Provides static methods to format common data types as Utf8 strings.
class Utf8Parser
Provides static methods to parse Utf8 strings to common data types.
System.​Runtime.​InteropServices
class SequenceMarshal
Provides a collection of methods for interoperating with <see cref="T:System.Buffers.ReadOnlySequence`1" /> .
System.​Text
class EncodingExtensions
Provides extension methods for the encoding types, such as <see cref="T:System.Text.Encoding" /> , <see cref="T:System.Text.Encoder" /> , and <see cref="T:System.Text.Decoder" /> .
struct SpanLineEnumerator
Enumerates the lines of a <see cref="T:System.ReadOnlySpan`1" /> .
struct SpanRuneEnumerator
Provides an enumerator for the <see cref="T:System.Text.Rune" /> values represented by a span containing UTF-16 text.