mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-09-22 15:04:43 +00:00
Removed 3.5 project. Added WinRT project
This commit is contained in:
@@ -5,7 +5,7 @@ using System.Linq;
|
||||
using SharpCompress.Common;
|
||||
|
||||
|
||||
#if THREEFIVE || PORTABLE
|
||||
#if PORTABLE
|
||||
using SharpCompress.Common.Rar.Headers;
|
||||
#endif
|
||||
|
||||
@@ -137,11 +137,11 @@ namespace SharpCompress.Reader
|
||||
if (rawStream != null)
|
||||
{
|
||||
var bytesToAdvance = Entry.CompressedSize;
|
||||
for (var i = 0; i < bytesToAdvance/skipBuffer.Length; i++)
|
||||
for (var i = 0; i < bytesToAdvance / skipBuffer.Length; i++)
|
||||
{
|
||||
rawStream.Read(skipBuffer, 0, skipBuffer.Length);
|
||||
}
|
||||
rawStream.Read(skipBuffer, 0, (int) (bytesToAdvance%skipBuffer.Length));
|
||||
rawStream.Read(skipBuffer, 0, (int)(bytesToAdvance % skipBuffer.Length));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user