mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-18 01:05:13 +00:00
17 lines
355 B
C++
17 lines
355 B
C++
#pragma once
|
|
|
|
#include "basis/seadTypes.h"
|
|
|
|
namespace sead
|
|
{
|
|
class StreamSrc
|
|
{
|
|
public:
|
|
virtual u32 read(void* data, u32 size) = 0;
|
|
virtual u32 write(const void* data, u32 size) = 0;
|
|
virtual u32 skip(s32 offset) = 0;
|
|
virtual void rewind() = 0;
|
|
virtual bool isEOF() = 0;
|
|
virtual bool flush() { return true; }
|
|
};
|
|
} // namespace sead
|