40 nn::Result Read(uint32_t *bytesRead,
void *buffer, uint32_t readSize)
override {
42 return base->
vtable->
ReadFn(base, bytesRead, buffer, readSize);
44 nn::Result Write(uint32_t *bytesWritten,
void *buffer, uint32_t readSize)
override {
46 return base->
vtable->
WriteFn(base, bytesWritten, buffer, readSize);
Result value type used by nn libraries.
nn::Result Initialize(FSClient *client, FSCmdBlock *cmdBlock, char const *path, char const *mode)
The given client and cmd must be valid during the whole liftime of the filestream.
nn::Result GetSize(uint32_t *fileSize) override
nn::Result Read(uint32_t *bytesRead, void *buffer, uint32_t readSize) override
nn::Result Write(uint32_t *bytesWritten, void *buffer, uint32_t readSize) override
details::IStreamInternal * GetInternal() override
nn::Result Seek(int32_t offset, nn::sl::SeekOrigin seekOrigin) override
FileStreamInternal * __ct__Q3_2nn2sl10FileStreamFv(FileStreamInternal *)
struct nn::sl::details::FileStreamInternal FileStreamInternal
IStreamInternalVTable * vtable
void __dt__Q3_2nn2sl10FileStreamFv(FileStreamInternal *, int)
nn::Result Initialize__Q3_2nn2sl10FileStreamFP8FSClientP10FSCmdBlockPCcT3(FileStreamInternal *, FSClient *, FSCmdBlock *, char const *, char const *)
IStream_GetSizeFn GetSizeFn