andrew92010
andrew92010
> Have you tried using `stream.CopyTo(otherStream)` ? Hello, I still haven't tried to use Stream.CopyTo , as the StreamPump.Run is the function that fits best my case, that is a...
> I wouldn't know where to begin. If it only happens sometimes (different data), it's likely a bounds check that's gone wrong.. If it happens sometimes, on the same data,...
> Could you link to the exact line that throws? Hello, here it is. It's the "Write" function inside the class SubStream.cs . ``` public override void Write(byte[] buffer, int...
> Could you link to the exact line that throws? Hello, new update. By logging the stream length I've noticed this: - Partitions that succeed in the copy have the...
> Maybe. In any case, it seems to me like an off-by-one to try to write a final cluster when none is needed. > > Can you verify, that when...
> Maybe. In any case, it seems to me like an off-by-one to try to write a final cluster when none is needed. > > Can you verify, that when...
LAST UPDATE: The reading of the volume bitmap file ($Bitmap) can be the BUG !!! According to the bitmap reading, the number of clusters is: 73088896 According to the CHKDSK...
> Just dividing up those numbers tells me that it's an issue of not initializing the bitarray correctly. The diff in your case is 57 (which tells me the bitarray...