Tramway SDK
|
File reading backend API. More...
#include <platform/file.h>
File reading backend API.
File readers will load a whole file in memory when constructed. This memory is freed when they are destructed, which can be done by calling the Yeet() method.
File contents can be accessed via GetContents() and GetSize() methods.
To open a file, call the GetReader() method, it will find search until it finds the file and then return an opened filereader for it.