martinzink commented on pull request #1177:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1177#issuecomment-924047824


   The current read callbacks work either
   - by reading until the size of the stream, this coulld be fixed by wrapping 
the size() function.
   - or they read batch-by-batch until the read returns 0 (e.g. 
PutFile::ReadCallback::process), for this I've wrapped the read function so it 
wont over-read 
   
   For this I had to add tell function to `minifi::io::Stream` which will tell 
the current seek position
   I implemented `tell` everywhere where `seek` was implemented.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to