What steps will reproduce the problem?
1. Use the Write method of Pipe with Offset
2. Data is chopped
The fix is to remove this block of code:
if (offset != 0)
{
// Not the complete buffer, slice buffer
byte[] newBuffer = new byte[length];
Array.Copy(buffer, offset, newBuffer, 0, length);
buffer = newBuffer;
}
OR adjust the offset and length in the call to WritePipe of InternalDevice.
Original issue reported on code.google.com by devendra...@gmail.com on 27 Mar 2012 at 12:41
Original issue reported on code.google.com by
devendra...@gmail.com
on 27 Mar 2012 at 12:41