You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.
I got an ArgumentOutOfRangeException when run this code
static void Main(string[] args)
{
var file = new CompoundFile(@"cf_test6.bin");
var cfStream = file.RootStorage.TryGetStorage("Layer2").TryGetStream("ids");
// ArgumentOutOfRangeException
var r = new StreamReader(cfStream.AsIOStream());
// If replace by this code line, no exception
//var r = new StreamReader(new MemoryStream(cfStream.GetData()));
int count = 0;
while (r.ReadLine() != null)
{
count++;
}
Console.WriteLine(count);
Console.ReadLine();
}
I got an ArgumentOutOfRangeException when run this code
cf_test6.bin
The text was updated successfully, but these errors were encountered: