FileStream.h
Go to the documentation of this file.
FileStream(const String &fileName, FileOpenFlags openFlags=File::ReadOnly)
Create a file stream.
Definition: FileStream.h:29
bool open(const String &fileName, IFS::OpenFlags openFlags=OpenFlag::Read)
Open a file by path, and attach this stream object to it.
void attach(FileHandle file, size_t size)
Attach this stream object to an open file handle.