remove do while

This commit is contained in:
Adam Hathcock
2025-10-22 09:19:09 +01:00
parent 084fe72b02
commit d8797b69e4

View File

@@ -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)