8 #ifndef _STRUS_BASE_INPUT_STREAM_HPP_INCLUDED
9 #define _STRUS_BASE_INPUT_STREAM_HPP_INCLUDED
32 std::size_t
read(
char* buf, std::size_t bufsize);
39 const char*
readLine(
char* buf, std::size_t bufsize,
bool failOnNoLine=
false);
45 std::size_t
readAhead(
char* buf, std::size_t bufsize);
49 unsigned int error()
const;
56 std::string m_docpath;
57 std::ifstream m_stream;
59 std::size_t m_bufferidx;