mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-09-25 00:15:15 +00:00
remove do while
This commit is contained in:
@@ -98,7 +98,9 @@ internal static class Utility
|
||||
public static void Skip(this Stream source)
|
||||
{
|
||||
using var buffer = MemoryPool<byte>.Shared.Rent(TEMP_BUFFER_SIZE);
|
||||
do { } while (source.Read(buffer.Memory.Span) > 0);
|
||||
while (source.Read(buffer.Memory.Span) > 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public static DateTime DosDateToDateTime(ushort iDate, ushort iTime)
|
||||
|
||||
Reference in New Issue
Block a user