mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-14 07:26:09 +00:00
Initial port configuration (needs cleanup)
This commit is contained in:
16
Runtime/Streams/CFileOutStream.hpp
Normal file
16
Runtime/Streams/CFileOutStream.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include "Runtime/Streams/COutputStream.hpp"
|
||||
#include <cstdio>
|
||||
|
||||
namespace metaforce {
|
||||
class CFileOutStream final : public COutputStream {
|
||||
FILE* m_file;
|
||||
public:
|
||||
explicit CFileOutStream(std::string_view name, u32 blockLen = 4096);
|
||||
virtual ~CFileOutStream();
|
||||
|
||||
protected:
|
||||
void Write(const u8* ptr, u32 len);
|
||||
};
|
||||
} // namespace metaforce
|
||||
Reference in New Issue
Block a user