dotnext by

<PackageReference Include="dotnext" Version="4.9.0" />

Error reading package

System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
 ---> System.IO.IOException:  Received an unexpected EOF or 0 bytes from the transport stream.
   at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
   at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Boolean async, Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Boolean async, Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken)
   at FuGetGallery.Entry.OpenAsync() in /home/runner/work/FuGetGallery/FuGetGallery/Data/PackageData.cs:line 86
   at FuGetGallery.Entry.Open() in /home/runner/work/FuGetGallery/FuGetGallery/Data/PackageData.cs:line 33
   at FuGetGallery.PackageData.ReadNuspec(Entry entry) in /home/runner/work/FuGetGallery/FuGetGallery/Data/PackageData.cs:line 372
   at FuGetGallery.PackageData.ReadAsync(HttpClient httpClient, String packageUri) in /home/runner/work/FuGetGallery/FuGetGallery/Data/PackageData.cs:line 365
   at FuGetGallery.PackageData.PackageDataCache.ReadPackageFromUrl(PackageData package, HttpClient httpClient, CancellationToken token) in /home/runner/work/FuGetGallery/FuGetGallery/Data/PackageData.cs:line 600
   at FuGetGallery.PackageData.PackageDataCache.GetValueAsync(String arg0, PackageVersion arg1, HttpClient httpClient, CancellationToken token) in /home/runner/work/FuGetGallery/FuGetGallery/Data/PackageData.cs:line 576

 SpanWriter<T>

public struct SpanWriter<T>
Represents simple memory writer backed by Span<T>.
public ref T Current { get; }

Gets the element at the current position in the underlying memory block.

public int FreeCapacity { get; }

Gets the available space in the underlying span.

public Span<T> RemainingSpan { get; }

Gets the remaining part of the span.

public Span<T> Span { get; }

Gets underlying span.

public int WrittenCount { get; }

Gets the number of occupied elements in the underlying span.

public Span<T> WrittenSpan { get; }

Gets the span over written elements.

public SpanWriter(Span<T> span)

Initializes a new memory writer.

public SpanWriter(ref T reference, int length)

Initializes a new memory writer.

public void Add(T item)

Puts single element into the underlying span.

public void Advance(int count)

Advances the position of this writer.

public void Reset()

Sets writer position to the first element.

public void Rewind(int count)

Moves the writer back the specified number of items.

public Span<T> Slide(int count)

Obtains the portion of underlying span and marks it as written.

public bool TryAdd(T item)

Puts single element into the underlying span.

public bool TrySlide(int count, out Span segment)

Obtains the portion of underlying span and marks it as written.

public bool TryWrite(ReadOnlySpan<T> input)

Copies the elements to the underlying span.

public bool TryWrite<TArg>(method action, TArg arg)

public int Write(ReadOnlySpan<T> input)

Copies the elements to the underlying span.

public void Write<TArg>(method action, TArg arg, int count)