Holds one NitroFS payload while an image is being assembled, independently of any source ROM. More...
Properties | |
| string | Path [get, set] |
| Identifies the file in NitroFS using a leading slash and one-byte path segments; Latin-1 code points preserve raw FNT values. | |
| ReadOnlyMemory< byte > | Contents [get, set] |
| Exposes the exact bytes that will be assigned a FAT entry when the image is laid out. | |
Holds one NitroFS payload while an image is being assembled, independently of any source ROM.
Instances are owned by NdsFileSystemBuilder. The builder copies input bytes, so a caller may reuse or modify its original buffer after adding the file without changing a future image. Paths use the canonical form /directory/name.ext and are compared byte-for-byte using ordinal semantics because NitroFS names are case-sensitive eight-bit data rather than culture-aware text.
Definition at line 12 of file NdsBuildFile.cs.
|
getset |
Exposes the exact bytes that will be assigned a FAT entry when the image is laid out.
The memory is backed by a builder-owned copy and cannot be mutated through this API. Replacing a file creates new state rather than retaining caller-owned memory.
Definition at line 41 of file NdsBuildFile.cs.
|
getset |
Identifies the file in NitroFS using a leading slash and one-byte path segments; Latin-1 code points preserve raw FNT values.
This is a logical image path, not a host-filesystem path. It changes when the owning builder moves the file, which allows an existing reference to continue identifying the same payload.
Definition at line 32 of file NdsBuildFile.cs.