metaforce/Runtime/Streams/CTextInStream.hpp

15 lines
307 B
C++
Raw Normal View History

#pragma once
#include "Runtime/Streams/CInputStream.hpp"
namespace metaforce {
class CTextInStream {
CInputStream* m_in;
s32 m_len;
2022-02-28 01:15:03 +00:00
public:
CTextInStream(CInputStream& in, int len);
bool IsEOF() { return m_in->GetReadPosition() >= m_len; }
std::string GetNextLine();
};
2022-02-28 01:15:03 +00:00
} // namespace metaforce