Skip to content

NexFile.SetAppendedData Method ​

Definition ​

Replaces the application-defined data appended after the memory banks.

c#
public void SetAppendedData(ReadOnlySpan<Byte> data);

View source

Parameters ​

NameTypeDescription
dataReadOnlySpan<Byte>The bytes to copy, or an empty span to remove existing appended data.

Remarks ​

Copies the supplied bytes. Does not change the bank map, RAM requirement or loader file-handle policy. Set FileHandleAddress to keep the file open when the application needs to read it. Existing checksum fields are preserved, not recalculated.