Closed
Description
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!
Metadata
Metadata
Assignees
Labels
No labels