API Diff between 3.2.1 and 2.4.0
439 Additions
42 Removals
DotNext.Buffers
-
public static class BufferWriter
- public static void Write<T>(this IBufferWriter<byte> writer, ref T value) where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
- public static void WriteBigInteger(this IBufferWriter<byte> writer, ref BigInteger value, bool littleEndian, LengthFormat? lengthFormat = default)
- public static void WriteBigInteger(this IBufferWriter<byte> writer, ref BigInteger value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteByte(this IBufferWriter<byte> writer, byte value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteByte(this IBufferWriter<char> writer, byte value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteByte(this ref BufferWriterSlim writer, byte value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteDateTime(this IBufferWriter<byte> writer, DateTime value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteDateTime(this IBufferWriter<char> writer, DateTime value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteDateTime(this ref BufferWriterSlim writer, DateTime value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteDateTimeOffset(this IBufferWriter<byte> writer, DateTimeOffset value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteDateTimeOffset(this IBufferWriter<char> writer, DateTimeOffset value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteDateTimeOffset(this ref BufferWriterSlim writer, DateTimeOffset value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteDecimal(this IBufferWriter<byte> writer, ref decimal value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteDecimal(this IBufferWriter<char> writer, ref decimal value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteDecimal(this ref BufferWriterSlim writer, ref decimal value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteDouble(this IBufferWriter<byte> writer, double value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteDouble(this IBufferWriter<char> writer, double value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteDouble(this ref BufferWriterSlim writer, double value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteGuid(this IBufferWriter<byte> writer, ref Guid value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, int bufferSize = 0)
- public static void WriteGuid(this IBufferWriter<char> writer, ref Guid value, ReadOnlySpan<char> format = default)
- public static void WriteGuid(this ref BufferWriterSlim writer, ref Guid value, ReadOnlySpan<char> format = default)
- public static void WriteInt16(this IBufferWriter<byte> writer, short value, bool littleEndian)
- public static void WriteInt16(this IBufferWriter<byte> writer, short value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteInt16(this IBufferWriter<char> writer, short value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteInt16(this ref BufferWriterSlim writer, short value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteInt32(this IBufferWriter<byte> writer, int value, bool littleEndian)
- public static void WriteInt32(this IBufferWriter<byte> writer, int value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteInt32(this IBufferWriter<char> writer, int value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteInt32(this ref BufferWriterSlim writer, int value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteInt64(this IBufferWriter<byte> writer, long value, bool littleEndian)
- public static void WriteInt64(this IBufferWriter<byte> writer, long value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteInt64(this IBufferWriter<char> writer, long value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteInt64(this ref BufferWriterSlim writer, long value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteLine(this IBufferWriter<char> writer)
- public static void WriteLine(this IBufferWriter<char> writer, ReadOnlySpan<char> characters)
- public static void WriteLine(this ref BufferWriterSlim writer)
- public static void WriteLine(this ref BufferWriterSlim writer, ReadOnlySpan<char> characters)
- public static void WriteSByte(this IBufferWriter<byte> writer, sbyte value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteSByte(this IBufferWriter<char> writer, sbyte value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteSByte(this ref BufferWriterSlim writer, sbyte value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteSingle(this IBufferWriter<byte> writer, float value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteSingle(this IBufferWriter<char> writer, float value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteSingle(this ref BufferWriterSlim writer, float value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteString(this IBufferWriter<byte> writer, ReadOnlySpan<char> value, ref EncodingContext context, int bufferSize = 0, LengthFormat? lengthFormat = default)
- public static void WriteTimeSpan(this IBufferWriter<byte> writer, TimeSpan value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteTimeSpan(this IBufferWriter<char> writer, TimeSpan value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteTimeSpan(this ref BufferWriterSlim writer, TimeSpan value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteUInt16(this IBufferWriter<byte> writer, ushort value, bool littleEndian)
- public static void WriteUInt16(this IBufferWriter<byte> writer, ushort value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteUInt16(this IBufferWriter<char> writer, ushort value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteUInt16(this ref BufferWriterSlim writer, ushort value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteUInt32(this IBufferWriter<byte> writer, uint value, bool littleEndian)
- public static void WriteUInt32(this IBufferWriter<byte> writer, uint value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteUInt32(this IBufferWriter<char> writer, uint value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteUInt32(this ref BufferWriterSlim writer, uint value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteUInt64(this IBufferWriter<byte> writer, ulong value, bool littleEndian)
- public static void WriteUInt64(this IBufferWriter<byte> writer, ulong value, LengthFormat lengthFormat, ref EncodingContext context, ReadOnlySpan<char> format = default, IFormatProvider provider = null, int bufferSize = 0)
- public static void WriteUInt64(this IBufferWriter<char> writer, ulong value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static void WriteUInt64(this ref BufferWriterSlim writer, ulong value, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
-
public interface IReadOnlySequenceSource<T> : IDisposable, ISupplier<ReadOnlySequence<T>>
-
public class SequenceBuilder<T> : SparseBufferWriter<T>, IReadOnlySequenceSource<T>, IDisposable, ISupplier<ReadOnlySequence<T>>
DotNext.IO
-
public class BinaryTransferObject : IDataTransferObject, ISupplier<ReadOnlySequence<byte>>
-
public class BinaryTransferObject<T> : IDataTransferObject, ISupplier<T> where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)
-
public static class DataTransferObject
- public static ValueTask<TResult> GetObjectDataAsync<TResult, TObject>(this TObject dto, CancellationToken token = default) where TResult : IDecoder<TResult> where TObject : IDataTransferObject
- public static Task<byte[]> ToByteArrayAsync<TObject>(this TObject dto, CancellationToken token = default) where TObject : IDataTransferObject
- public static Task<string> ToStringAsync<TObject>(this TObject dto, Encoding encoding, CancellationToken token = default) where TObject : IDataTransferObject
- public static Task<string> ToStringAsync<TObject>(this TObject dto, Encoding encoding, int capacity, CancellationToken token = default) where TObject : IDataTransferObject
- public static ValueTask<TResult> ToType<TResult, TObject>(this TObject dto, CancellationToken token = default) where TResult : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where TObject : IDataTransferObject
- public static ValueTask<byte[]> ToByteArrayAsync<TObject>(this TObject dto, MemoryAllocator<byte> allocator = null, CancellationToken token = default) where TObject : IDataTransferObject
- public static ValueTask<MemoryOwner<byte>> ToMemoryAsync<TObject>(this TObject dto, MemoryAllocator<byte> allocator = null, CancellationToken token = default) where TObject : IDataTransferObject
- public static ValueTask<string> ToStringAsync<TObject>(this TObject dto, Encoding encoding, MemoryAllocator<byte> allocator = null, CancellationToken token = default) where TObject : IDataTransferObject
- public static ValueTask<TResult> ToTypeAsync<TResult, TObject>(this TObject dto, CancellationToken token = default) where TResult : ValueType modreq(System.Runtime.InteropServices.UnmanagedType) where TObject : IDataTransferObject
- public static ValueTask<TResult> TransformAsync<TResult, TObject>(this TObject dto, Func<IAsyncBinaryReader, CancellationToken, ValueTask<TResult>> transformation, CancellationToken token = default) where TObject : IDataTransferObject
- public static ValueTask WriteToAsync<TObject>(this TObject dto, IBufferWriter<byte> writer, CancellationToken token = default) where TObject : IDataTransferObject
-
public sealed class FileBufferingWriter : Stream, IBufferWriter<byte>, IGrowableBuffer<byte>, IReadOnlySpanConsumer<byte>, ISupplier<ReadOnlyMemory<byte>, CancellationToken, ValueTask>, IDisposable, IFlushable
- public struct Options
- public FileBufferingWriter(MemoryAllocator<byte> allocator = null, int memoryThreshold = 32768, int initialCapacity = 0, string tempDir = null, bool asyncIO = true)
- public FileBufferingWriter(ref Options options)
- public void Advance(int count)
- public void Clear()
- public void CopyTo<TConsumer>(TConsumer consumer, int bufferSize, CancellationToken token) where TConsumer : IReadOnlySpanConsumer<byte>
- public void CopyTo(IBufferWriter<byte> destination, int bufferSize = 1024, CancellationToken token = default)
- public void CopyTo<TArg>(ReadOnlySpanAction<byte, TArg> reader, TArg arg, int bufferSize = 1024, CancellationToken token = default)
- public int CopyTo(Span<byte> output)
- public Task CopyToAsync<TConsumer>(TConsumer consumer, int bufferSize, CancellationToken token) where TConsumer : ISupplier<ReadOnlyMemory<byte>, CancellationToken, ValueTask>
- public Task CopyToAsync(IBufferWriter<byte> destination, int bufferSize = 1024, CancellationToken token = default)
- public Task CopyToAsync<TArg>(ReadOnlySpanAction<byte, TArg> reader, TArg arg, int bufferSize = 1024, CancellationToken token = default)
- public Task<int> CopyToAsync(Memory<byte> output, CancellationToken token = default)
- public Memory<byte> GetMemory(int sizeHint = 0)
- public Span<byte> GetSpan(int sizeHint = 0)
- public IMemoryOwner<byte> GetWrittenContent(Range range)
- public IMemoryOwner<byte> GetWrittenContent()
- public IReadOnlySequenceSource<byte> GetWrittenContent(int segmentSize)
- public Stream GetWrittenContentAsStream()
- public ValueTask<Stream> GetWrittenContentAsStreamAsync(CancellationToken token = default)
- public ValueTask<IMemoryOwner<byte>> GetWrittenContentAsync(Range range, CancellationToken token = default)
- public ValueTask<IMemoryOwner<byte>> GetWrittenContentAsync(CancellationToken token = default)
- public ValueTask<IReadOnlySequenceSource<byte>> GetWrittenContentAsync(int segmentSize, CancellationToken token = default)
- public bool TryGetWrittenContent(out ReadOnlyMemory content)
- public bool TryGetWrittenContent(out ReadOnlyMemory content, out string fileName)
-
public interface IAsyncBinaryReader
- Task CopyToAsync(IBufferWriter<byte> writer, CancellationToken token = default)
- Task CopyToAsync<TArg>(ReadOnlySpanAction<byte, TArg> consumer, TArg arg, CancellationToken token = default)
- Task CopyToAsync<TArg>(Func<TArg, ReadOnlyMemory<byte>, CancellationToken, ValueTask> consumer, TArg arg, CancellationToken token = default)
- Task CopyToAsync<TConsumer>(TConsumer consumer, CancellationToken token = default) where TConsumer : ISupplier<ReadOnlyMemory<byte>, CancellationToken, ValueTask>
- ValueTask<MemoryOwner<byte>> ReadAsync(LengthFormat lengthFormat, MemoryAllocator<byte> allocator = null, CancellationToken token = default)
- ValueTask<BigInteger> ReadBigIntegerAsync(LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask<BigInteger> ReadBigIntegerAsync(int length, bool littleEndian, CancellationToken token = default)
- ValueTask<BigInteger> ReadBigIntegerAsync(LengthFormat lengthFormat, bool littleEndian, CancellationToken token = default)
- ValueTask<byte> ReadByteAsync(LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask<DateTime> ReadDateTimeAsync(LengthFormat lengthFormat, DecodingContext context, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask<DateTime> ReadDateTimeAsync(LengthFormat lengthFormat, DecodingContext context, string[] formats, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask<DateTimeOffset> ReadDateTimeOffsetAsync(LengthFormat lengthFormat, DecodingContext context, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask<DateTimeOffset> ReadDateTimeOffsetAsync(LengthFormat lengthFormat, DecodingContext context, string[] formats, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask<decimal> ReadDecimalAsync(LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 111, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask<double> ReadDoubleAsync(LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 231, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask<Guid> ReadGuidAsync(LengthFormat lengthFormat, DecodingContext context, CancellationToken token = default)
- ValueTask<Guid> ReadGuidAsync(LengthFormat lengthFormat, DecodingContext context, string format, CancellationToken token = default)
- ValueTask<short> ReadInt16Async(LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask<int> ReadInt32Async(LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask<long> ReadInt64Async(LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask<float> ReadSingleAsync(LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 231, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask<string> ReadStringAsync(StringLengthEncoding lengthFormat, DecodingContext context, CancellationToken token = default)
- ValueTask<string> ReadStringAsync(LengthFormat lengthFormat, DecodingContext context, CancellationToken token = default)
- ValueTask<TimeSpan> ReadTimeSpanAsync(LengthFormat lengthFormat, DecodingContext context, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask<TimeSpan> ReadTimeSpanAsync(LengthFormat lengthFormat, DecodingContext context, string[] formats, TimeSpanStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask SkipAsync(int length, CancellationToken token = default)
- bool TryGetSpan(out ReadOnlySpan bytes)
-
public interface IAsyncBinaryWriter : ISupplier<ReadOnlyMemory<byte>, CancellationToken, ValueTask>
- IAsyncBinaryWriter Create(PipeWriter output, int stringLengthThreshold, int encodingBufferSize)
- IAsyncBinaryWriter Create(IBufferWriter<byte> writer)
- Task CopyFromAsync<TArg>(Func<TArg, CancellationToken, ValueTask<ReadOnlyMemory<byte>>> supplier, TArg arg, CancellationToken token = default)
- IBufferWriter<byte> TryGetBufferWriter()
- ValueTask WriteAsync(ReadOnlyMemory<byte> input, CancellationToken token = default)
- ValueTask WriteAsync(ReadOnlyMemory<char> chars, EncodingContext context, StringLengthEncoding? lengthFormat, CancellationToken token = default)
- ValueTask WriteAsync(ReadOnlyMemory<byte> input, LengthFormat? lengthFormat = default, CancellationToken token = default)
- ValueTask WriteAsync<TArg>(Action<TArg, IBufferWriter<byte>> writer, TArg arg, CancellationToken token = default)
- ValueTask WriteAsync(ReadOnlyMemory<char> chars, EncodingContext context, LengthFormat? lengthFormat, CancellationToken token = default)
- Task WriteAsync(ReadOnlySequence<byte> input, CancellationToken token = default)
- ValueTask WriteBigIntegerAsync(BigInteger value, bool littleEndian, LengthFormat? lengthFormat = default, CancellationToken token = default)
- ValueTask WriteBigIntegerAsync(BigInteger value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask WriteByteAsync(byte value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask WriteDateTimeAsync(DateTime value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask WriteDateTimeOffsetAsync(DateTimeOffset value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask WriteDecimalAsync(decimal value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask WriteDoubleAsync(double value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask WriteGuidAsync(Guid value, LengthFormat lengthFormat, EncodingContext context, string format = null, CancellationToken token = default)
- ValueTask WriteInt16Async(short value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask WriteInt32Async(int value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask WriteInt64Async(long value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask WriteSingleAsync(float value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- ValueTask WriteTimeSpanAsync(TimeSpan value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
-
public interface IDataTransferObject
- public interface IDecoder<TResult>
- public interface ITransformation<TResult>
- IDataTransferObject Empty { get; }
- ValueTask<TResult> DecodeAsync<TResult, TDecoder>(Stream input, TDecoder transformation, bool resetStream, CancellationToken token) where TDecoder : IDecoder<TResult>
- ValueTask<TResult> DecodeAsync<TResult, TDecoder>(PipeReader input, TDecoder transformation, CancellationToken token) where TDecoder : IDecoder<TResult>
- ValueTask<TResult> GetObjectDataAsync<TResult, TDecoder>(TDecoder parser, CancellationToken token = default) where TDecoder : IDecoder<TResult>
- ValueTask<TResult> TransformAsync<TResult, TTransformation>(Stream input, TTransformation transformation, bool resetStream, Memory<byte> buffer, CancellationToken token) where TTransformation : ITransformation<TResult>
- ValueTask<TResult> TransformAsync<TResult, TTransformation>(Stream input, TTransformation transformation, bool resetStream, MemoryAllocator<byte> allocator, CancellationToken token) where TTransformation : ITransformation<TResult>
- ValueTask<TResult> TransformAsync<TResult, TTransformation>(Stream input, TTransformation transformation, bool resetStream, CancellationToken token) where TTransformation : ITransformation<TResult>
- ValueTask<TResult> TransformAsync<TResult, TTransformation>(PipeReader input, TTransformation transformation, CancellationToken token) where TTransformation : ITransformation<TResult>
- ValueTask<TResult> TransformAsync<TResult, TTransformation>(TTransformation transformation, CancellationToken token = default) where TTransformation : ITransformation<TResult>
- bool TryGetMemory(out ReadOnlyMemory memory)
-
public enum LengthFormat
-
public class MemoryTransferObject : Disposable, IDataTransferObject
-
public sealed class RentedMemoryStream : MemoryStream
-
public struct SequenceBinaryReader : IAsyncBinaryReader
- public ReadOnlySequence<byte> RemainingSequence { get; }
- public MemoryOwner<byte> Read(LengthFormat lengthFormat, MemoryAllocator<byte> allocator = null)
- public BigInteger ReadBigInteger(LengthFormat lengthFormat, ref DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null)
- public BigInteger ReadBigInteger(int length, bool littleEndian)
- public BigInteger ReadBigInteger(LengthFormat lengthFormat, bool littleEndian)
- public byte ReadByte(LengthFormat lengthFormat, ref DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null)
- public DateTime ReadDateTime(LengthFormat lengthFormat, ref DecodingContext context, DateTimeStyles style = 0, IFormatProvider provider = null)
- public DateTime ReadDateTime(LengthFormat lengthFormat, ref DecodingContext context, string[] formats, DateTimeStyles style = 0, IFormatProvider provider = null)
- public DateTimeOffset ReadDateTimeOffset(LengthFormat lengthFormat, ref DecodingContext context, DateTimeStyles style = 0, IFormatProvider provider = null)
- public DateTimeOffset ReadDateTimeOffset(LengthFormat lengthFormat, ref DecodingContext context, string[] formats, DateTimeStyles style = 0, IFormatProvider provider = null)
- public decimal ReadDecimal(LengthFormat lengthFormat, ref DecodingContext context, NumberStyles style = 111, IFormatProvider provider = null)
- public double ReadDouble(LengthFormat lengthFormat, ref DecodingContext context, NumberStyles style = 231, IFormatProvider provider = null)
- public Guid ReadGuid(LengthFormat lengthFormat, ref DecodingContext context)
- public Guid ReadGuid(LengthFormat lengthFormat, ref DecodingContext context, string format)
- public short ReadInt16(LengthFormat lengthFormat, ref DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null)
- public short ReadInt16(bool littleEndian)
- public int ReadInt32(bool littleEndian)
- public int ReadInt32(LengthFormat lengthFormat, ref DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null)
- public long ReadInt64(LengthFormat lengthFormat, ref DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null)
- public long ReadInt64(bool littleEndian)
- public sbyte ReadSByte(LengthFormat lengthFormat, ref DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null)
- public float ReadSingle(LengthFormat lengthFormat, ref DecodingContext context, NumberStyles style = 231, IFormatProvider provider = null)
- public string ReadString(StringLengthEncoding lengthFormat, ref DecodingContext context)
- public string ReadString(LengthFormat lengthFormat, ref DecodingContext context)
- public TimeSpan ReadTimeSpan(LengthFormat lengthFormat, ref DecodingContext context, IFormatProvider provider = null)
- public TimeSpan ReadTimeSpan(LengthFormat lengthFormat, ref DecodingContext context, string[] formats, TimeSpanStyles style = 0, IFormatProvider provider = null)
- public ushort ReadUInt16(LengthFormat lengthFormat, ref DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null)
- public ushort ReadUInt16(bool littleEndian)
- public uint ReadUInt32(LengthFormat lengthFormat, ref DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null)
- public uint ReadUInt32(bool littleEndian)
- public ulong ReadUInt64(LengthFormat lengthFormat, ref DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null)
- public ulong ReadUInt64(bool littleEndian)
- public void Skip(int length)
-
public static class StreamExtensions
- public static long CopyTo(this Stream source, Stream destination, Span<byte> buffer, CancellationToken token = default)
- public static ValueTask<long> CopyToAsync(this Stream source, Stream destination, Memory<byte> buffer, CancellationToken token = default)
- public static void CopyTo<TConsumer>(this Stream source, TConsumer consumer, Span<byte> buffer, CancellationToken token = default) where TConsumer : IReadOnlySpanConsumer<byte>
- public static void CopyTo(this Stream source, Stream destination, Span<byte> buffer, CancellationToken token = default)
- public static void CopyTo<TArg>(this Stream stream, ReadOnlySpanAction<byte, TArg> reader, TArg arg, Span<byte> buffer, CancellationToken token = default)
- public static void CopyTo<TArg>(this Stream stream, ReadOnlySpanAction<byte, TArg> reader, TArg arg, int bufferSize = 256, CancellationToken token = default)
- public static void CopyTo(this Stream source, IBufferWriter<byte> destination, int bufferSize = 0, CancellationToken token = default)
- public static Task CopyToAsync<TConsumer>(this Stream source, TConsumer consumer, Memory<byte> buffer, CancellationToken token = default) where TConsumer : ISupplier<ReadOnlyMemory<byte>, CancellationToken, ValueTask>
- public static Task CopyToAsync(this Stream source, Stream destination, Memory<byte> buffer, CancellationToken token = default)
- public static Task CopyToAsync<TArg>(this Stream stream, ReadOnlySpanAction<byte, TArg> reader, TArg arg, Memory<byte> buffer, CancellationToken token = default)
- public static Task CopyToAsync<TArg>(this Stream stream, ReadOnlySpanAction<byte, TArg> reader, TArg arg, int bufferSize = 256, CancellationToken token = default)
- public static Task CopyToAsync<TArg>(this Stream stream, Func<TArg, ReadOnlyMemory<byte>, CancellationToken, ValueTask> reader, TArg arg, Memory<byte> buffer, CancellationToken token = default)
- public static Task CopyToAsync<TArg>(this Stream stream, Func<TArg, ReadOnlyMemory<byte>, CancellationToken, ValueTask> reader, TArg arg, int bufferSize = 256, CancellationToken token = default)
- public static Task CopyToAsync(this Stream source, IBufferWriter<byte> destination, int bufferSize = 0, CancellationToken token = default)
- public static BigInteger ReadBigInteger(this Stream stream, int length, bool littleEndian, Span<byte> buffer)
- public static BigInteger ReadBigInteger(this Stream stream, int length, bool littleEndian)
- public static BigInteger ReadBigInteger(this Stream stream, LengthFormat lengthFormat, bool littleEndian, Span<byte> buffer)
- public static BigInteger ReadBigInteger(this Stream stream, LengthFormat lengthFormat, bool littleEndian)
- public static BigInteger ReadBigInteger(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null)
- public static ValueTask<BigInteger> ReadBigIntegerAsync(this Stream stream, int length, bool littleEndian, Memory<byte> buffer, CancellationToken token = default)
- public static ValueTask<BigInteger> ReadBigIntegerAsync(this Stream stream, int length, bool littleEndian, CancellationToken token = default)
- public static ValueTask<BigInteger> ReadBigIntegerAsync(this Stream stream, LengthFormat lengthFormat, bool littleEndian, Memory<byte> buffer, CancellationToken token = default)
- public static ValueTask<BigInteger> ReadBigIntegerAsync(this Stream stream, LengthFormat lengthFormat, bool littleEndian, CancellationToken token = default)
- public static ValueTask<BigInteger> ReadBigIntegerAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<BigInteger> ReadBigIntegerAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static MemoryOwner<byte> ReadBlock(this Stream stream, LengthFormat lengthFormat, MemoryAllocator<byte> allocator = null)
- public static void ReadBytes(this Stream stream, Span<byte> output)
- public static ValueTask ReadBytesAsync(this Stream stream, Memory<byte> output, CancellationToken token = default)
- public static ValueTask<MemoryOwner<byte>> ReadBlockAsync(this Stream stream, LengthFormat lengthFormat, Memory<byte> buffer, MemoryAllocator<byte> allocator = null, CancellationToken token = default)
- public static byte ReadByte(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null)
- public static ValueTask<byte> ReadByteAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<byte> ReadByteAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static DateTime ReadDateTime(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, DateTimeStyles style = 0, IFormatProvider provider = null)
- public static DateTime ReadDateTime(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, string[] formats, DateTimeStyles style = 0, IFormatProvider provider = null)
- public static ValueTask<DateTime> ReadDateTimeAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<DateTime> ReadDateTimeAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, string[] formats, Memory<byte> buffer, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<DateTime> ReadDateTimeAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<DateTime> ReadDateTimeAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, string[] formats, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static DateTimeOffset ReadDateTimeOffset(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, DateTimeStyles style = 0, IFormatProvider provider = null)
- public static DateTimeOffset ReadDateTimeOffset(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, string[] formats, DateTimeStyles style = 0, IFormatProvider provider = null)
- public static ValueTask<DateTimeOffset> ReadDateTimeOffsetAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<DateTimeOffset> ReadDateTimeOffsetAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, string[] formats, Memory<byte> buffer, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<DateTimeOffset> ReadDateTimeOffsetAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<DateTimeOffset> ReadDateTimeOffsetAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, string[] formats, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static decimal ReadDecimal(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, NumberStyles style = 111, IFormatProvider provider = null)
- public static ValueTask<decimal> ReadDecimalAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, NumberStyles style = 111, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<decimal> ReadDecimalAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 111, IFormatProvider provider = null, CancellationToken token = default)
- public static double ReadDouble(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, NumberStyles style = 231, IFormatProvider provider = null)
- public static ValueTask<double> ReadDoubleAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, NumberStyles style = 231, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<double> ReadDoubleAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 231, IFormatProvider provider = null, CancellationToken token = default)
- public static Guid ReadGuid(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer)
- public static Guid ReadGuid(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, string format)
- public static ValueTask<Guid> ReadGuidAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, CancellationToken token = default)
- public static ValueTask<Guid> ReadGuidAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, string format, CancellationToken token = default)
- public static ValueTask<Guid> ReadGuidAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, CancellationToken token = default)
- public static ValueTask<Guid> ReadGuidAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, string format, CancellationToken token = default)
- public static short ReadInt16(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null)
- public static ValueTask<short> ReadInt16Async(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<short> ReadInt16Async(this Stream stream, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static int ReadInt32(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null)
- public static ValueTask<int> ReadInt32Async(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<int> ReadInt32Async(this Stream stream, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static long ReadInt64(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null)
- public static ValueTask<long> ReadInt64Async(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<long> ReadInt64Async(this Stream stream, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static sbyte ReadSByte(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null)
- public static ValueTask<sbyte> ReadSByteAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<sbyte> ReadSByteAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static float ReadSingle(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, NumberStyles style = 231, IFormatProvider provider = null)
- public static ValueTask<float> ReadSingleAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, NumberStyles style = 231, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<float> ReadSingleAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 231, IFormatProvider provider = null, CancellationToken token = default)
- public static string ReadString(this Stream stream, StringLengthEncoding lengthFormat, ref DecodingContext context, Span<byte> buffer)
- public static string ReadString(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer)
- public static string ReadString(this Stream stream, StringLengthEncoding lengthFormat, Encoding encoding)
- public static string ReadString(this Stream stream, LengthFormat lengthFormat, Encoding encoding)
- public static ValueTask<string> ReadStringAsync(this Stream stream, StringLengthEncoding lengthFormat, DecodingContext context, Memory<byte> buffer, CancellationToken token = default)
- public static ValueTask<string> ReadStringAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, CancellationToken token = default)
- public static ValueTask<string> ReadStringAsync(this Stream stream, StringLengthEncoding lengthFormat, Encoding encoding, CancellationToken token = default)
- public static ValueTask<string> ReadStringAsync(this Stream stream, LengthFormat lengthFormat, Encoding encoding, CancellationToken token = default)
- public static TimeSpan ReadTimeSpan(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, IFormatProvider provider = null)
- public static TimeSpan ReadTimeSpan(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, string[] formats, TimeSpanStyles style = 0, IFormatProvider provider = null)
- public static ValueTask<TimeSpan> ReadTimeSpanAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<TimeSpan> ReadTimeSpanAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, string[] formats, TimeSpanStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<TimeSpan> ReadTimeSpanAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<TimeSpan> ReadTimeSpanAsync(this Stream stream, LengthFormat lengthFormat, DecodingContext context, string[] formats, TimeSpanStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static ushort ReadUInt16(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null)
- public static ValueTask<ushort> ReadUInt16Async(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<ushort> ReadUInt16Async(this Stream stream, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static uint ReadUInt32(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null)
- public static ValueTask<uint> ReadUInt32Async(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<uint> ReadUInt32Async(this Stream stream, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ulong ReadUInt64(this Stream stream, LengthFormat lengthFormat, ref DecodingContext context, Span<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null)
- public static ValueTask<ulong> ReadUInt64Async(this Stream stream, LengthFormat lengthFormat, DecodingContext context, Memory<byte> buffer, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<ulong> ReadUInt64Async(this Stream stream, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static void Write(this Stream stream, ref ReadOnlySequence sequence, CancellationToken token = default)
- public static ValueTask WriteAsync(this Stream stream, ReadOnlySequence<byte> sequence, CancellationToken token = default)
- public static void WriteString(this Stream stream, ReadOnlySpan<char> value, ref EncodingContext context, Span<byte> buffer, StringLengthEncoding? lengthFormat = default)
- public static void WriteString(this Stream stream, ReadOnlySpan<char> value, Encoding encoding, StringLengthEncoding? lengthFormat = default)
- public static ValueTask WriteStringAsync(this Stream stream, ReadOnlyMemory<char> value, EncodingContext context, Memory<byte> buffer, StringLengthEncoding? lengthFormat = default, CancellationToken token = default)
- public static ValueTask WriteStringAsync(this Stream stream, ReadOnlyMemory<char> value, Encoding encoding, StringLengthEncoding? lengthFormat = default, CancellationToken token = default)
- public static Task<long> WriteAsync<TArg>(this Stream stream, Func<TArg, CancellationToken, ValueTask<ReadOnlyMemory<byte>>> supplier, TArg arg, CancellationToken token = default)
- public static void WriteBigInteger(this Stream stream, ref BigInteger value, bool littleEndian, LengthFormat? lengthFormat = default)
- public static void WriteBigInteger(this Stream stream, ref BigInteger value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteBigIntegerAsync(this Stream stream, BigInteger value, bool littleEndian, Memory<byte> buffer, LengthFormat? lengthFormat = default, CancellationToken token = default)
- public static ValueTask WriteBigIntegerAsync(this Stream stream, BigInteger value, bool littleEndian, MemoryAllocator<byte> allocator = null, LengthFormat? lengthFormat = default, CancellationToken token = default)
- public static ValueTask WriteBigIntegerAsync(this Stream stream, BigInteger value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteBigIntegerAsync(this Stream stream, BigInteger value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static void WriteBlock(this Stream stream, ReadOnlySpan<byte> value, LengthFormat lengthFormat)
- public static ValueTask WriteBlockAsync(this Stream stream, ReadOnlyMemory<byte> value, LengthFormat lengthFormat, Memory<byte> buffer, CancellationToken token = default)
- public static void WriteByte(this Stream stream, byte value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteByteAsync(this Stream stream, byte value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteByteAsync(this Stream stream, byte value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static void WriteDateTime(this Stream stream, DateTime value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteDateTimeAsync(this Stream stream, DateTime value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteDateTimeAsync(this Stream stream, DateTime value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static void WriteDateTimeOffset(this Stream stream, DateTimeOffset value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteDateTimeOffsetAsync(this Stream stream, DateTimeOffset value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteDateTimeOffsetAsync(this Stream stream, DateTimeOffset value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static void WriteDecimal(this Stream stream, ref decimal value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteDecimalAsync(this Stream stream, decimal value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteDecimalAsync(this Stream stream, decimal value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static void WriteDouble(this Stream stream, double value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteDoubleAsync(this Stream stream, double value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteDoubleAsync(this Stream stream, double value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static void WriteGuid(this Stream stream, ref Guid value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default)
- public static ValueTask WriteGuidAsync(this Stream stream, Guid value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, CancellationToken token = default)
- public static ValueTask WriteGuidAsync(this Stream stream, Guid value, LengthFormat lengthFormat, EncodingContext context, string format = null, CancellationToken token = default)
- public static void WriteInt16(this Stream stream, short value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteInt16Async(this Stream stream, short value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteInt16Async(this Stream stream, short value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static void WriteInt32(this Stream stream, int value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteInt32Async(this Stream stream, int value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteInt32Async(this Stream stream, int value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static void WriteInt64(this Stream stream, long value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteInt64Async(this Stream stream, long value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteInt64Async(this Stream stream, long value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static void WriteSByte(this Stream stream, sbyte value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteSByteAsync(this Stream stream, sbyte value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteSByteAsync(this Stream stream, sbyte value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static void WriteSingle(this Stream stream, float value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteSingleAsync(this Stream stream, float value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteSingleAsync(this Stream stream, float value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static void WriteString(this Stream stream, ReadOnlySpan<char> value, ref EncodingContext context, Span<byte> buffer, LengthFormat? lengthFormat = default)
- public static void WriteString(this Stream stream, ReadOnlySpan<char> value, Encoding encoding, LengthFormat? lengthFormat = default)
- public static ValueTask WriteStringAsync(this Stream stream, ReadOnlyMemory<char> value, EncodingContext context, Memory<byte> buffer, LengthFormat? lengthFormat = default, CancellationToken token = default)
- public static ValueTask WriteStringAsync(this Stream stream, ReadOnlyMemory<char> value, Encoding encoding, LengthFormat? lengthFormat = default, CancellationToken token = default)
- public static void WriteTimeSpan(this Stream stream, TimeSpan value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteTimeSpanAsync(this Stream stream, TimeSpan value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteTimeSpanAsync(this Stream stream, TimeSpan value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static void WriteUInt16(this Stream stream, ushort value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteUInt16Async(this Stream stream, ushort value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteUInt16Async(this Stream stream, ushort value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static void WriteUInt32(this Stream stream, uint value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteUInt32Async(this Stream stream, uint value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteUInt32Async(this Stream stream, uint value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static void WriteUInt64(this Stream stream, ulong value, LengthFormat lengthFormat, Encoding encoding, ReadOnlySpan<char> format = default, IFormatProvider provider = null)
- public static ValueTask WriteUInt64Async(this Stream stream, ulong value, LengthFormat lengthFormat, EncodingContext context, Memory<byte> buffer, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteUInt64Async(this Stream stream, ulong value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
-
public class StreamTransferObject : Disposable, IDataTransferObject, IAsyncDisposable
-
public enum StringLengthEncoding
-
public static class TextStreamExtensions
- public static TextReader AsTextReader(this ReadOnlySequence<char> sequence)
- public static TextReader AsTextReader(this ReadOnlySequence<byte> sequence, Encoding encoding, int bufferSize = 1024, MemoryAllocator<char> allocator = null)
- public static TextWriter AsTextWriter<TWriter>(this TWriter writer, IFormatProvider provider = null, Action<TWriter> flush = null, Func<TWriter, CancellationToken, Task> flushAsync = null) where TWriter : IBufferWriter<char>
- public static TextWriter AsTextWriter<TWriter>(this TWriter writer, Encoding encoding, IFormatProvider provider = null, Action<TWriter> flush = null, Func<TWriter, CancellationToken, Task> flushAsync = null) where TWriter : IBufferWriter<byte>
- public static ValueTask WriteAsync(this TextWriter writer, ReadOnlySequence<char> chars, CancellationToken token = default)
DotNext.IO.Log
-
public interface IAuditTrail
- bool IsLogEntryLengthAlwaysPresented { get; }
- ValueTask<long> DropAsync(long startIndex, CancellationToken token = default)
- ValueTask<TResult> ReadAsync<TReader, TResult>(TReader reader, long startIndex, long endIndex, CancellationToken token = default) where TReader : ILogEntryConsumer<ILogEntry, TResult>
- ValueTask<TResult> ReadAsync<TReader, TResult>(TReader reader, long startIndex, CancellationToken token = default) where TReader : ILogEntryConsumer<ILogEntry, TResult>
- ValueTask<TResult> ReadAsync<TResult>(Func<IReadOnlyList<ILogEntry>, long?, CancellationToken, ValueTask<TResult>> reader, long startIndex, long endIndex, CancellationToken token = default)
- ValueTask<TResult> ReadAsync<TResult>(Func<IReadOnlyList<ILogEntry>, long?, CancellationToken, ValueTask<TResult>> reader, long startIndex, CancellationToken token = default)
-
public interface IAuditTrail<TEntry> : IAuditTrail where TEntry : ILogEntry
- TEntry& modreq(System.Runtime.InteropServices.InAttribute) First { get; }
- ValueTask AppendAsync<TEntryImpl>(TEntryImpl entry, long startIndex) where TEntryImpl : TEntry
- ValueTask AppendAsync<TEntryImpl>(TEntryImpl entry, long startIndex, CancellationToken token = default) where TEntryImpl : TEntry
- ValueTask<long> DropAsync(long startIndex, CancellationToken token = default)
- ValueTask<TResult> ReadAsync<TReader, TResult>(TReader reader, long startIndex, long endIndex, CancellationToken token = default) where TReader : ILogEntryConsumer<TEntry, TResult>
- ValueTask<TResult> ReadAsync<TReader, TResult>(TReader reader, long startIndex, CancellationToken token = default) where TReader : ILogEntryConsumer<TEntry, TResult>
- ValueTask<TResult> ReadAsync<TResult>(ILogEntryConsumer<TEntry, TResult> reader, long startIndex, long endIndex, CancellationToken token = default)
- ValueTask<TResult> ReadAsync<TResult>(Func<IReadOnlyList<TEntry>, long?, CancellationToken, ValueTask<TResult>> reader, long startIndex, long endIndex, CancellationToken token = default)
- ValueTask<TResult> ReadAsync<TResult>(ILogEntryConsumer<TEntry, TResult> reader, long startIndex, CancellationToken token = default)
- ValueTask<TResult> ReadAsync<TResult>(Func<IReadOnlyList<TEntry>, long?, CancellationToken, ValueTask<TResult>> reader, long startIndex, CancellationToken token = default)
-
public interface ILogCompactionSupport : IAuditTrail
-
public interface ILogEntryConsumer<TEntry, TResult> where TEntry : ILogEntry
-
public class IntegrityException : IOException
-
public struct LogEntryConsumer<TEntry, TResult> : ILogEntryConsumer<TEntry, TResult> where TEntry : ILogEntry
- public LogEntryReadOptimizationHint OptimizationHint { get; }
- public LogEntryConsumer(Func<IReadOnlyList<ILogEntry>, long?, CancellationToken, ValueTask<TResult>> consumer, LogEntryReadOptimizationHint optimizationHint = 0)
- public LogEntryConsumer(Func<IReadOnlyList<TEntry>, long?, CancellationToken, ValueTask<TResult>> consumer, LogEntryReadOptimizationHint optimizationHint = 0)
- public LogEntryConsumer(ILogEntryConsumer<TEntry, TResult> consumer)
- public ValueTask<TResult> ReadAsync<TEntryImpl, TList>(TList entries, long? snapshotIndex, CancellationToken token) where TEntryImpl : TEntry where TList : IReadOnlyList<TEntryImpl>
-
public sealed class LogEntryProducer<TEntry> : ILogEntryProducer<TEntry>, IAsyncEnumerator<TEntry>, IAsyncDisposable where TEntry : ILogEntry
-
public enum LogEntryReadOptimizationHint
DotNext.IO.MemoryMappedFiles
DotNext.IO.Pipelines
-
public static class PipeExtensions
- public static ValueTask<int> ComputeHashAsync(this PipeReader reader, HashAlgorithmName name, int count, Memory<byte> output, CancellationToken token = default)
- public static ValueTask<int> ComputeHashAsync(this PipeReader reader, HashAlgorithmName name, Memory<byte> output, CancellationToken token = default)
- public static Task CopyToAsync<TArg>(this PipeReader reader, ReadOnlySpanAction<byte, TArg> consumer, TArg arg, CancellationToken token = default)
- public static Task CopyToAsync<TConsumer>(this PipeReader reader, TConsumer consumer, CancellationToken token = default) where TConsumer : ISupplier<ReadOnlyMemory<byte>, CancellationToken, ValueTask>
- public static Task CopyToAsync<TArg>(this PipeReader reader, Func<TArg, ReadOnlyMemory<byte>, CancellationToken, ValueTask> consumer, TArg arg, CancellationToken token = default)
- public static Task CopyToAsync(this PipeReader reader, IBufferWriter<byte> destination, CancellationToken token = default)
- public static ValueTask ReadAsync(this PipeReader reader, Memory<byte> output, CancellationToken token = default)
- public static ValueTask<BigInteger> ReadBigIntegerAsync(this PipeReader reader, int length, bool littleEndian, CancellationToken token = default)
- public static ValueTask<BigInteger> ReadBigIntegerAsync(this PipeReader reader, LengthFormat lengthFormat, bool littleEndian, CancellationToken token = default)
- public static ValueTask<BigInteger> ReadBigIntegerAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<MemoryOwner<byte>> ReadBlockAsync(this PipeReader reader, LengthFormat lengthFormat, MemoryAllocator<byte> allocator = null, CancellationToken token = default)
- public static ValueTask ReadBlockAsync<TConsumer>(this PipeReader reader, long length, TConsumer consumer, CancellationToken token = default) where TConsumer : ISupplier<ReadOnlyMemory<byte>, CancellationToken, ValueTask>
- public static ValueTask ReadBlockAsync<TArg>(this PipeReader reader, long length, Func<TArg, ReadOnlyMemory<byte>, CancellationToken, ValueTask> callback, TArg arg, CancellationToken token = default)
- public static ValueTask<byte> ReadByteAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<DateTime> ReadDateTimeAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<DateTime> ReadDateTimeAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, string[] formats, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<DateTimeOffset> ReadDateTimeOffsetAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<DateTimeOffset> ReadDateTimeOffsetAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, string[] formats, DateTimeStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<decimal> ReadDecimalAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 111, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<double> ReadDoubleAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 231, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<Guid> ReadGuidAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, CancellationToken token = default)
- public static ValueTask<Guid> ReadGuidAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, string format, CancellationToken token = default)
- public static ValueTask<short> ReadInt16Async(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<int> ReadInt32Async(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<long> ReadInt64Async(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<sbyte> ReadSByteAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<float> ReadSingleAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 231, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<string> ReadStringAsync(this PipeReader reader, StringLengthEncoding lengthFormat, DecodingContext context, CancellationToken token = default)
- public static ValueTask<string> ReadStringAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, CancellationToken token = default)
- public static ValueTask<TimeSpan> ReadTimeSpanAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<TimeSpan> ReadTimeSpanAsync(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, string[] formats, TimeSpanStyles style = 0, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<ushort> ReadUInt16Async(this PipeReader reader, bool littleEndian, CancellationToken token = default)
- public static ValueTask<ushort> ReadUInt16Async(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<uint> ReadUInt32Async(this PipeReader reader, bool littleEndian, CancellationToken token = default)
- public static ValueTask<uint> ReadUInt32Async(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<ulong> ReadUInt64Async(this PipeReader reader, bool littleEndian, CancellationToken token = default)
- public static ValueTask<ulong> ReadUInt64Async(this PipeReader reader, LengthFormat lengthFormat, DecodingContext context, NumberStyles style = 7, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask SkipAsync(this PipeReader reader, long length, CancellationToken token = default)
- public static bool TryReadBlock(this PipeReader reader, long length, out ReadResult result)
- public static Task<long> WriteAsync<TArg>(this PipeWriter writer, Func<TArg, CancellationToken, ValueTask<ReadOnlyMemory<byte>>> supplier, TArg arg, CancellationToken token = default)
- public static ValueTask<long> WriteAsync(this PipeWriter writer, ReadOnlySequence<byte> sequence, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteBigIntegerAsync(this PipeWriter writer, BigInteger value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteBigIntegerAsync(this PipeWriter writer, BigInteger value, bool littleEndian, LengthFormat? lengthFormat, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteBlockAsync(this PipeWriter writer, ReadOnlyMemory<byte> input, LengthFormat? lengthFormat, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteByteAsync(this PipeWriter writer, byte value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteDateTimeAsync(this PipeWriter writer, DateTime value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteDateTimeOffsetAsync(this PipeWriter writer, DateTimeOffset value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteDecimalAsync(this PipeWriter writer, decimal value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteDoubleAsync(this PipeWriter writer, double value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteGuidAsync(this PipeWriter writer, Guid value, LengthFormat lengthFormat, EncodingContext context, string format = null, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteInt16Async(this PipeWriter writer, short value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteInt32Async(this PipeWriter writer, int value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteStringAsync(this PipeWriter writer, ReadOnlyMemory<char> value, EncodingContext context, int bufferSize = 0, StringLengthEncoding? lengthFormat = default, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteInt64Async(this PipeWriter writer, long value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteSByteAsync(this PipeWriter writer, sbyte value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteSingleAsync(this PipeWriter writer, float value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask WriteStringAsync(this PipeWriter writer, ReadOnlyMemory<char> value, EncodingContext context, int bufferSize = 0, LengthFormat? lengthFormat = default, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteTimeSpanAsync(this PipeWriter writer, TimeSpan value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteUInt16Async(this PipeWriter writer, ushort value, bool littleEndian, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteUInt16Async(this PipeWriter writer, ushort value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteUInt32Async(this PipeWriter writer, uint value, bool littleEndian, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteUInt32Async(this PipeWriter writer, uint value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteUInt64Async(this PipeWriter writer, ulong value, bool littleEndian, CancellationToken token = default)
- public static ValueTask<FlushResult> WriteUInt64Async(this PipeWriter writer, ulong value, LengthFormat lengthFormat, EncodingContext context, string format = null, IFormatProvider provider = null, CancellationToken token = default)
DotNext.Security.Cryptography