Fix GsfInputMemory.ReadImpl

This commit is contained in:
Matt Nadareski
2022-06-15 23:43:59 -07:00
parent dd5f7c4e0b
commit 76e52292a8

View File

@@ -91,7 +91,7 @@ namespace LibGSF.Input
}
else
{
return src.Skip((int)CurrentOffset).ToArray();
return new ReadOnlySpan<byte>(src, (int)CurrentOffset, num_bytes).ToArray();
}
}