mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-10 17:25:51 +00:00
76a92cfb0a
- Remove ZeroReaderIndex from SshData; offset should instead be specified when instance is created/loaded. - LoadBytes is now private, and is always invoked when a message is loaded. - Eliminate ResetReader(). SshDataStream.cs: - Added overload taking buffer, offset and count. KeyExchange*Message.cs: - Remove ResetReader() calls. Message.cs: - Remove ZeroReaderIndex override. SftpMessage.cs: - Pass offset and count to Load overload to allow skipping byte representing the message type. - Remove ZeroReaderIndex override. SftpSession.cs: - Avoid buffering when packet contains full SFTP response message. Session.cs: - Pass offset and count to Load overload to allow skipping offset bytes. General: - Temporarily add (too) verbose tracing.