mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-16 13:55:18 +00:00
Fix GsfInputMemory.ReadImpl
This commit is contained in:
@@ -91,7 +91,7 @@ namespace LibGSF.Input
|
||||
}
|
||||
else
|
||||
{
|
||||
return src.Skip((int)CurrentOffset).ToArray();
|
||||
return new ReadOnlySpan<byte>(src, (int)CurrentOffset, num_bytes).ToArray();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user