Retrun 0 bytes for reads way past end of file.

This commit is contained in:
caitsith2 2018-08-27 21:07:40 -07:00 committed by Alex Barney
parent 94e7051c82
commit 7042002903

View file

@ -115,7 +115,7 @@ namespace DiscUtils.Fat
if (_position > _length)
{
throw new IOException("Attempt to read beyond end of file");
return 0;
}
if (count < 0)