sshnet / SSH.NET

SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.
MIT License
3.87k stars 915 forks source link

Ref System.Memory for net462 and netstandard2.0 #1417

Open scott-xu opened 2 weeks ago

scott-xu commented 2 weeks ago

Use System.Buffers.Binary.BinaryPrimitives instead of Renci.SshNet.Common.Pack

More can be done once this PR is merged, since Span<T> and Memory<T> is available in all SSH.NET target frameworks.