Why not a nice Span.
This commit is contained in:
parent
5697d047fb
commit
18f576f49d
1 changed files with 1 additions and 1 deletions
|
@ -865,7 +865,7 @@ namespace ARMeilleure.Translation.PTC
|
|||
_infosWriter.Write((int)ptcInfo.RelocEntriesCount); // InfoEntry.RelocEntriesCount
|
||||
|
||||
// WriteCode.
|
||||
_codesStream.Write(ptcInfo.Code, 0, ptcInfo.Code.Length);
|
||||
_codesStream.Write(ptcInfo.Code.AsSpan());
|
||||
|
||||
// WriteReloc.
|
||||
ptcInfo.RelocStream.WriteTo(_relocsStream);
|
||||
|
|
Loading…
Reference in a new issue