Base64Decoder
Represents base64 decoder suitable for decoding large base64-encoded binary
data using streaming approach.
Indicates that the decoder expects additional data to decode.
public static IAsyncEnumerable<ReadOnlyMemory<byte>> DecodeFromUtf16Async(IAsyncEnumerable<ReadOnlyMemory<char>> chars, MemoryAllocator<byte> allocator = null, CancellationToken token = default)
Decodes a sequence of base64-encoded bytes.
public static IAsyncEnumerable<ReadOnlyMemory<byte>> DecodeFromUtf8Async(IAsyncEnumerable<ReadOnlyMemory<byte>> utf8Chars, MemoryAllocator<byte> allocator = null, CancellationToken token = default)
Decodes a sequence of base64-encoded bytes.
Decodes base64 characters.
public MemoryOwner<byte> DecodeFromUtf16(ReadOnlySpan<char> chars, MemoryAllocator<byte> allocator = null)
Decodes base64 characters.
Decodes UTF-8 encoded base64 string.
Decodes UTF-8 encoded base64 string.
public MemoryOwner<byte> DecodeFromUtf8(ReadOnlySpan<byte> chars, MemoryAllocator<byte> allocator = null)
Decoes UTF-8 encoded base64 string.
Decodes UTF-8 encoded base64 string.
Resets the internal state of the decoder.