We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdf9427 commit ab4a15bCopy full SHA for ab4a15b
MetadataExtractor/IO/SequentialStreamReader.cs
@@ -56,7 +56,7 @@ public override void Skip(long n)
56
throw new ArgumentException("n must be zero or greater.");
57
58
if (_stream.Position + n > _stream.Length)
59
- throw new IOException("Unable to skip past of end of file");
+ throw new IOException($"Unable to skip. Requested {n} bytes but only {_stream.Length - _stream.Position} remained.");
60
61
_stream.Seek(n, SeekOrigin.Current);
62
}
0 commit comments