This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace blazorwasm; | |
using System.Net.Http.Json; | |
using System.Runtime.CompilerServices; | |
using Microsoft.AspNetCore.Components.WebAssembly.Http; | |
public static class Extensions | |
{ | |
public static IAsyncEnumerable<T?> GetFromJsonAsAsyncEnumerableUsingStreaming<T>( | |
this HttpClient client, string? uri, CancellationToken ct = default) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace TarExtractor; | |
using System.IO.Compression; | |
using System.Text; | |
public class Tar | |
{ | |
/// <summary> | |
/// Extracts a <i>.tar.gz</i> archive to the specified directory. | |
/// </summary> |