libdash icon indicating copy to clipboard operation
libdash copied to clipboard

Fixing BlockStream::BlockQueuePeekBytes

Open poncela opened this issue 4 years ago • 0 comments

The BlockStream::BlockQueuePeekBytes function fails when the offset is bigger than first block length

also, when you have to read data from two or more blocks it calculating wrongly the destination offset.

This pull request is the proposal fix for this function.

poncela avatar Nov 23 '21 10:11 poncela