27 if (
mStream ==
nullptr)
return 0;
28 if (
mSize == (
size_t) - 1)
30 mStream->seekg (0, std::ios::end);
32 mStream->seekg (0, std::ios::beg);
45 std::getline(*
mStream, _source, (
char)_delim);
50 if (
mStream ==
nullptr)
return 0;
51 size_t count = std::min(
size(), _count);
52 mStream->read((
char*)_buf, count);
size_t read(void *_buf, size_t _count) override
void readline(std::string &_source, Char _delim) override