Minor cleanup

This commit is contained in:
Phillip Stephens 2022-02-27 17:15:03 -08:00
parent c79ddb8c42
commit 399b44baf0
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
2 changed files with 5 additions and 4 deletions

View File

@ -5,10 +5,11 @@ namespace metaforce {
class CTextInStream {
CInputStream* m_in;
s32 m_len;
public:
CTextInStream(CInputStream& in, int len);
bool IsEOF() { return m_in->GetReadPosition() >= m_len; }
std::string GetNextLine();
};
}
} // namespace metaforce

View File

@ -4,11 +4,11 @@
namespace metaforce {
class CTextOutStream {
COutputStream* m_out;
public:
CTextOutStream(COutputStream& out);
explicit CTextOutStream(COutputStream& out);
void WriteString(const std::string& str);
void WriteString(const char* str, u32 len);
};
}
} // namespace metaforce