<PackageReference Include="System.Memory" Version="4.5.3" />
API Differences between 4.5.3 and 4.5.0-preview1-26216-02
124 Additions
28 Removals
System
-
public struct Memory<T>
-
public static class MemoryExtensions
- 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 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<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 TryGetString(this ReadOnlyMemory<char> readOnlyMemory, out string text, out int start, out int length)
- 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 struct ReadOnlyMemory<T>
-
public struct ReadOnlySpan<T>
-
public struct SequencePosition : IEquatable<SequencePosition>
-
public struct Span<T>
System.Buffers
-
public interface IRetainable
-
public static class BuffersExtensions
-
public interface IBufferWriter<T>
-
public interface IMemoryOwner<T> : IDisposable
-
public interface IPinnable
-
public struct MemoryHandle : IDisposable
-
public abstract class MemoryManager<T> : IMemoryOwner<T>, IDisposable, IPinnable
-
public abstract class MemoryPool<T> : IDisposable
-
public abstract class OwnedMemory<T> : IDisposable, IRetainable
-
public struct ReadOnlySequence<T>
- public struct Enumerator<T>
- public static readonly ReadOnlySequence<T> Empty
- public SequencePosition End { get; }
- public ReadOnlyMemory<T> First { get; }
- public bool IsEmpty { get; }
- public bool IsSingleSegment { get; }
- public long Length { get; }
- public SequencePosition Start { get; }
- public ReadOnlySequence(ReadOnlySequenceSegment<T> startSegment, int startIndex, ReadOnlySequenceSegment<T> endSegment, int endIndex)
- public ReadOnlySequence(T[] array)
- public ReadOnlySequence(T[] array, int start, int length)
- public ReadOnlySequence(ReadOnlyMemory<T> memory)
- public Enumerator<T> GetEnumerator()
- public SequencePosition GetPosition(long offset)
- public SequencePosition GetPosition(long offset, SequencePosition origin)
- public ReadOnlySequence<T> Slice(long start, long length)
- public ReadOnlySequence<T> Slice(long start, SequencePosition end)
- public ReadOnlySequence<T> Slice(SequencePosition start, long length)
- public ReadOnlySequence<T> Slice(int start, int length)
- public ReadOnlySequence<T> Slice(int start, SequencePosition end)
- public ReadOnlySequence<T> Slice(SequencePosition start, int length)
- public ReadOnlySequence<T> Slice(SequencePosition start, SequencePosition end)
- public ReadOnlySequence<T> Slice(SequencePosition start)
- public ReadOnlySequence<T> Slice(long start)
- public bool TryGet(ref SequencePosition position, out ReadOnlyMemory memory, bool advance = true)
-
public abstract class ReadOnlySequenceSegment<T>
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