<PackageReference Include="System.Memory" Version="4.5.0-preview1-26216-02" />
API Differences between 4.5.0-preview1-26216-02 and 4.5.0-rc1
41 Additions
64 Removals
System
-
public struct Memory<T>
-
public static class MemoryExtensions
- public static Memory<T> AsMemory<T>(this T[] array)
- public static Memory<T> AsMemory<T>(this T[] array, int start)
- public static Memory<T> AsMemory<T>(this T[] array, int start, int length)
- public static Memory<T> AsMemory<T>(this ArraySegment<T> segment)
- public static Memory<T> AsMemory<T>(this ArraySegment<T> segment, int start)
- public static Memory<T> AsMemory<T>(this ArraySegment<T> segment, int start, int length)
- public static ReadOnlyMemory<char> AsMemory(this string text)
- public static ReadOnlyMemory<char> AsMemory(this string text, int start)
- public static ReadOnlyMemory<char> AsMemory(this string text, int start, int length)
- public static Span<byte> AsBytes<T>(this Span<T> source) where T : struct
- public static ReadOnlySpan<byte> AsBytes<T>(this ReadOnlySpan<T> source) where T : struct
- public static ReadOnlyMemory<T> AsReadOnlyMemory<T>(this Memory<T> memory)
- public static ReadOnlyMemory<char> AsReadOnlyMemory(this string text)
- public static ReadOnlyMemory<char> AsReadOnlyMemory(this string text, int start)
- public static ReadOnlyMemory<char> AsReadOnlyMemory(this string text, int start, int length)
- public static ReadOnlySpan<T> AsReadOnlySpan<T>(this T[] array)
- public static ReadOnlySpan<T> AsReadOnlySpan<T>(this Span<T> span)
- public static ReadOnlySpan<T> AsReadOnlySpan<T>(this ArraySegment<T> arraySegment)
- public static ReadOnlySpan<char> AsReadOnlySpan(this string text)
- public static ReadOnlySpan<char> AsReadOnlySpan(this string text, int start)
- public static ReadOnlySpan<char> AsReadOnlySpan(this string text, int start, int length)
- public static Span<T> AsSpan<T>(this T[] array, int start, int length)
- public static Span<T> AsSpan<T>(this ArraySegment<T> segment, int start)
- public static Span<T> AsSpan<T>(this ArraySegment<T> segment, int start, int length)
- public static Span<T> AsSpan<T>(this T[] array, int start)
- public static ReadOnlySpan<char> AsSpan(this string text)
- public static ReadOnlySpan<char> AsSpan(this string text, int start)
- public static ReadOnlySpan<char> AsSpan(this string text, int start, int length)
- public static int CompareTo(this ReadOnlySpan<char> span, ReadOnlySpan<char> other, StringComparison comparisonType)
- public static bool Contains(this ReadOnlySpan<char> span, ReadOnlySpan<char> value, StringComparison comparisonType)
- public static bool EndsWith(this ReadOnlySpan<char> span, ReadOnlySpan<char> value, StringComparison comparisonType)
- public static bool Equals(this ReadOnlySpan<char> span, ReadOnlySpan<char> other, StringComparison comparisonType)
- public static int IndexOf(this ReadOnlySpan<char> span, ReadOnlySpan<char> value, StringComparison comparisonType)
- public static bool IsWhiteSpace(this ReadOnlySpan<char> span)
- public static Span<TTo> NonPortableCast<TFrom, TTo>(this Span<TFrom> source) where TFrom : struct where TTo : struct
- public static ReadOnlySpan<TTo> NonPortableCast<TFrom, TTo>(this ReadOnlySpan<TFrom> source) where TFrom : struct where TTo : struct
- public static bool StartsWith(this ReadOnlySpan<char> span, ReadOnlySpan<char> value, StringComparison comparisonType)
- public static int ToLower(this ReadOnlySpan<char> source, Span<char> destination, CultureInfo culture)
- public static int ToLowerInvariant(this ReadOnlySpan<char> source, Span<char> destination)
- public static int ToUpper(this ReadOnlySpan<char> source, Span<char> destination, CultureInfo culture)
- public static int ToUpperInvariant(this ReadOnlySpan<char> source, Span<char> destination)
- public static ReadOnlySpan<char> Trim(this ReadOnlySpan<char> span)
- public static ReadOnlySpan<char> Trim(this ReadOnlySpan<char> span, char trimChar)
- public static ReadOnlySpan<char> Trim(this ReadOnlySpan<char> span, ReadOnlySpan<char> trimChars)
- public static ReadOnlySpan<char> TrimEnd(this ReadOnlySpan<char> span)
- public static ReadOnlySpan<char> TrimEnd(this ReadOnlySpan<char> span, char trimChar)
- public static ReadOnlySpan<char> TrimEnd(this ReadOnlySpan<char> span, ReadOnlySpan<char> trimChars)
- public static ReadOnlySpan<char> TrimStart(this ReadOnlySpan<char> span)
- public static ReadOnlySpan<char> TrimStart(this ReadOnlySpan<char> span, char trimChar)
- public static ReadOnlySpan<char> TrimStart(this ReadOnlySpan<char> span, ReadOnlySpan<char> trimChars)
- public static bool TryGetString(this ReadOnlyMemory<char> readOnlyMemory, out string text, out int start, out int length)
-
public struct ReadOnlyMemory<T>
-
public struct ReadOnlySpan<T>
-
public struct SequencePosition : IEquatable<SequencePosition>
-
public struct Span<T>
System.Buffers
System.Buffers.Binary
System.Runtime.InteropServices
-
public static class MemoryMarshal
- public static Span<byte> AsBytes<T>(Span<T> span) where T : struct
- public static ReadOnlySpan<byte> AsBytes<T>(ReadOnlySpan<T> span) where T : struct
- public static Span<TTo> Cast<TFrom, TTo>(Span<TFrom> span) where TFrom : struct where TTo : struct
- public static ReadOnlySpan<TTo> Cast<TFrom, TTo>(ReadOnlySpan<TFrom> span) where TFrom : struct where TTo : struct
- public static Memory<T> CreateFromPinnedArray<T>(T[] array, int start, int length)
- public static T Read<T>(ReadOnlySpan<byte> source) where T : struct
- public static IEnumerable<T> ToEnumerable<T>(ReadOnlyMemory<T> memory)
- public static bool TryGetMemoryManager<T, TManager>(ReadOnlyMemory<T> memory, out TManager manager) where TManager : MemoryManager<T>
- public static bool TryGetMemoryManager<T, TManager>(ReadOnlyMemory<T> memory, out TManager manager, out int start, out int length) where TManager : MemoryManager<T>
- public static bool TryGetString(ReadOnlyMemory<char> memory, out string text, out int start, out int length)
- public static bool TryRead<T>(ReadOnlySpan<byte> source, out T value) where T : struct
- public static bool TryWrite<T>(Span<byte> destination, ref T value) where T : struct
- public static void Write<T>(Span<byte> destination, ref T value) where T : struct
-
public static class SequenceMarshal