Create a filesystem or custom provider.
sourceFilesystem root, or synchronous callbacks.
Close and invalidate a token through Native Close.
fileOpen file token.
Read the Native file length.
fileOpen token.
File byte length.
Load all bytes through Native LoadFile.
pathSource file path.
Owned byte snapshot, or null when unavailable.
Open a file through Rml::FileInterface::Open.
pathFile path.
Checked file token, or null when unavailable.
Read at most size bytes into output through Native Read.
outputFixed attached byte array.
sizeMaximum bytes, no larger than output.length.
fileOpen token.
Actual bytes read.
Move the file cursor through Native Seek.
fileOpen token.
offsetSigned Native byte offset.
originSeek basis.
Native seek result.
Read the Native byte position.
fileOpen token.
Current byte position.
Native-owned Rml::FileInterface with a filesystem root or custom callbacks.
Remarks
Select before initialization. Native retains selected callback owners; unselected cycles are collectible. File roots try root + relative path first, then the original path. A selected provider cannot be replaced by an inconsistent initialise fileRoot. Shutdown closes and invalidates files and interfaces, including unused setup objects.