<PackageReference Include="SSH.NET" Version="2026.0.0" />

Renci.SshNet.Common.ReadOnlyMemoryOwner

A type representing ownership of a rented, read-only buffer.
namespace Renci.SshNet.Common { internal sealed class ReadOnlyMemoryOwner : IMemoryOwner<byte>, IDisposable { public int Length { get; } public bool IsEmpty { get; } public ReadOnlySpan<byte> Span { get; } public ReadOnlyMemoryOwner(System.Net.ArrayBuffer buffer); public void Slice(int start); public void Dispose(); } }