diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-10-07 18:47:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-07 18:47:36 -0400 |
| commit | a6bf2ff16b81e0b7519be75d745fcb289beef76d (patch) | |
| tree | 2f1c55fa994b97db6d5bc37761751a9a72e495bf /include/JSystem/JSupport/JSURandomOutputStream.h | |
| parent | 635694946da9f96c9fde81d95e7df3f90e395a93 (diff) | |
Add debug-only HIO TUs based on TP decomp (#1232)
* Add debug-only HIO TUs based on TP decomp
* Remove dump_sort
Diffstat (limited to 'include/JSystem/JSupport/JSURandomOutputStream.h')
| -rw-r--r-- | include/JSystem/JSupport/JSURandomOutputStream.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/JSystem/JSupport/JSURandomOutputStream.h b/include/JSystem/JSupport/JSURandomOutputStream.h new file mode 100644 index 00000000..ce377f31 --- /dev/null +++ b/include/JSystem/JSupport/JSURandomOutputStream.h @@ -0,0 +1,20 @@ +#ifndef JSURANDOMOUTPUTSTREAM_H +#define JSURANDOMOUTPUTSTREAM_H + +#include "JSystem/JSupport/JSUInputStream.h" +#include "JSystem/JSupport/JSUOutputStream.h" + +class JSURandomOutputStream : public JSUOutputStream { +public: + JSURandomOutputStream() {} + virtual ~JSURandomOutputStream() {} + + /* vt[4] */ virtual s32 writeData(const void*, s32) = 0; + /* vt[5] */ virtual s32 getLength() const = 0; + /* vt[6] */ virtual s32 getPosition() const = 0; + /* vt[7] */ virtual s32 seek(s32, JSUStreamSeekFrom); + /* vt[8] */ virtual s32 getAvailable() const; + /* vt[9] */ virtual s32 seekPos(s32, JSUStreamSeekFrom) = 0; +}; // Size = 0x8 + +#endif /* JSURANDOMOUTPUTSTREAM_H */ |
