Ensure file reading operations return the expected data.

This commit is contained in:
2024-11-12 06:58:01 +00:00
parent cde062b0ac
commit 03d3d8f973
7 changed files with 95 additions and 23 deletions

View File

@@ -432,7 +432,7 @@ public class Vfs : IDisposable
stream.Position = offset;
return stream.Read(buf, 0, buf.Length);
return stream.EnsureRead(buf, 0, buf.Length);
}
finally
{