Why not a nice Span.
This commit is contained in:
parent
5697d047fb
commit
18f576f49d
@ -865,7 +865,7 @@ namespace ARMeilleure.Translation.PTC
|
|||||||
_infosWriter.Write((int)ptcInfo.RelocEntriesCount); // InfoEntry.RelocEntriesCount
|
_infosWriter.Write((int)ptcInfo.RelocEntriesCount); // InfoEntry.RelocEntriesCount
|
||||||
|
|
||||||
// WriteCode.
|
// WriteCode.
|
||||||
_codesStream.Write(ptcInfo.Code, 0, ptcInfo.Code.Length);
|
_codesStream.Write(ptcInfo.Code.AsSpan());
|
||||||
|
|
||||||
// WriteReloc.
|
// WriteReloc.
|
||||||
ptcInfo.RelocStream.WriteTo(_relocsStream);
|
ptcInfo.RelocStream.WriteTo(_relocsStream);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user