You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason it cannot support this? Seems like it would be easy enough to modify the for loop to start at the desired offset, and still calculate the amount read properly.
If it's just something that hasn't been done yet, I can perhaps do the work, but I wanted to check first to see if there's some edge case that makes this feature N/A that I'm not seeing.
Thanks!
The text was updated successfully, but these errors were encountered:
I am wondering the same thing.
Ran into this exception while using System.IO.Pipelines.PipeReader.
Then rewrote my code to use the raw stream and encountered it again.
PipeStream seems to throw an exception when Read(byte[] buffer, int offset, int count) is called, with an offset above zero.
https://github.com/sshnet/SSH.NET/blob/master/src/Renci.SshNet/Common/PipeStream.cs#L183
Is there a reason it cannot support this? Seems like it would be easy enough to modify the for loop to start at the desired offset, and still calculate the amount read properly.
If it's just something that hasn't been done yet, I can perhaps do the work, but I wanted to check first to see if there's some edge case that makes this feature N/A that I'm not seeing.
Thanks!
The text was updated successfully, but these errors were encountered: