API Diff between 4.6.0 and 4.0.0-rc.1
196 Additions
6 Removals
DotNext
DotNext.Buffers
-
public static class BufferHelpers
-
public struct BufferWriterSlim<T>
-
public struct MemoryOwner<T> : IMemoryOwner<T>, IDisposable, ISupplier<Memory<T>>, ISupplier<ReadOnlyMemory<T>>
-
public sealed class PooledArrayBufferWriter<T> : BufferWriter<T>, ISupplier<ArraySegment<T>>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
-
public sealed class PooledBufferWriter<T> : BufferWriter<T>, IMemoryOwner<T>, IDisposable
-
public struct PoolingInterpolatedStringHandler : IGrowableBuffer<char>, IReadOnlySpanConsumer<char>, ISupplier<ReadOnlyMemory<char>, CancellationToken, ValueTask>, IDisposable
-
public static class ReadOnlySequencePartitioner
-
public struct SpanWriter<T>
- public void Write<TArg>(method action, TArg arg, int count)
- public void Write<TArg>(method action, TArg arg, int count)
-
public class SparseBufferWriter<T> : Disposable, IEnumerable<ReadOnlyMemory<T>>, IEnumerable, IGrowableBuffer<T>, IReadOnlySpanConsumer<T>, ISupplier<ReadOnlyMemory<T>, CancellationToken, ValueTask>, IDisposable, ISupplier<ReadOnlySequence<T>>, IBufferWriter<T>
DotNext.Collections.Generic
DotNext.Collections.Specialized
DotNext.Diagnostics
DotNext.Reflection
DotNext.Runtime
DotNext.Runtime.Caching
-
public enum CacheEvictionPolicy
-
public class ConcurrentCache<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, IReadOnlyCollection<KeyValuePair<TKey, TValue>>
- public int Count { get; }
- public Action<TKey, TValue> Eviction { get; set; }
- public bool ExecuteEvictionAsynchronously { get; set; }
- public TValue this[TKey key] { get; set; }
- public ConcurrentCache(int capacity, int concurrencyLevel, CacheEvictionPolicy evictionPolicy, IEqualityComparer<TKey> keyComparer = null)
- public ConcurrentCache(int capacity, CacheEvictionPolicy evictionPolicy, IEqualityComparer<TKey> keyComparer = null)
- public TValue AddOrUpdate(TKey key, TValue value, out bool added)
- public void Clear()
- public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
- public TValue GetOrAdd(TKey key, TValue value, out bool added)
- public bool TryAdd(TKey key, TValue value)
- public bool TryGetValue(TKey key, out TValue value)
- public bool TryRemove(TKey key, out TValue value)
- public bool TryRemove(KeyValuePair<TKey, TValue> pair)
- public bool TryUpdate(TKey key, TValue newValue, TValue expectedValue)
DotNext.Runtime.CompilerServices
DotNext.Text
-
public struct Base64Decoder
-
public struct Base64Encoder
- public const int MaxBufferedDataSize = 2
- public const int MaxCharsToFlush = 4
- public const int MaxInputSize = 1610612733
- public int BufferedDataSize { get; }
- public bool HasBufferedData { get; }
- public static IAsyncEnumerable<ReadOnlyMemory<char>> EncodeToCharsAsync(IAsyncEnumerable<ReadOnlyMemory<byte>> bytes, MemoryAllocator<char> allocator = null, CancellationToken token = default)
- public static IAsyncEnumerable<ReadOnlyMemory<byte>> EncodeToUtf8Async(IAsyncEnumerable<ReadOnlyMemory<byte>> bytes, MemoryAllocator<byte> allocator = null, CancellationToken token = default)
- public void EncodeToChars(ReadOnlySpan<byte> bytes, IBufferWriter<char> output, bool flush = false)
- public MemoryOwner<char> EncodeToChars(ReadOnlySpan<byte> bytes, MemoryAllocator<char> allocator = null, bool flush = false)
- public void EncodeToChars<TConsumer>(ReadOnlySpan<byte> bytes, TConsumer output, bool flush = false) where TConsumer : IReadOnlySpanConsumer<char>
- public void EncodeToChars<TArg>(ReadOnlySpan<byte> bytes, ReadOnlySpanAction<char, TArg> output, TArg arg, bool flush = false)
- public void EncodeToChars<TArg>(ReadOnlySpan<byte> bytes, method output, TArg arg, bool flush = false)
- public void EncodeToChars(ReadOnlySpan<byte> bytes, TextWriter output, bool flush = false)
- public void EncodeToChars(ReadOnlySpan<byte> bytes, StringBuilder output, bool flush = false)
- public void EncodeToUtf8(ReadOnlySpan<byte> bytes, IBufferWriter<byte> output, bool flush = false)
- public MemoryOwner<byte> EncodeToUtf8(ReadOnlySpan<byte> bytes, MemoryAllocator<byte> allocator = null, bool flush = false)
- public void EncodeToUtf8<TConsumer>(ReadOnlySpan<byte> bytes, TConsumer output, bool flush = false) where TConsumer : IReadOnlySpanConsumer<byte>
- public void EncodeToUtf8<TArg>(ReadOnlySpan<byte> bytes, ReadOnlySpanAction<byte, TArg> output, TArg arg, bool flush = false)
- public void EncodeToUtf8<TArg>(ReadOnlySpan<byte> bytes, method output, TArg arg, bool flush = false)
- public void EncodeToUtf8(ReadOnlySpan<byte> bytes, Stream output, bool flush = false)
- public int Flush(Span<char> output)
- public int Flush(Span<byte> output)
- public int GetBufferedData(Span<byte> output)
- public void Reset()
-
public static class InterpolatedString
-
public struct StringBuilderConsumer : IReadOnlySpanConsumer<char>, ISupplier<ReadOnlyMemory<char>, CancellationToken, ValueTask>, IEquatable<StringBuilderConsumer>
DotNext.Text.Json
DotNext.Threading
DotNext.Threading.Tasks