31 if (
mStream ==
nullptr)
return 0;
32 if (
mSize == (
size_t) - 1)
34 mStream->seekg (0, std::ios::end);
36 mStream->seekg (0, std::ios::beg);
49 std::getline(*
mStream, _source, (
char)_delim);
54 if (
mStream ==
nullptr)
return 0;
55 size_t count = std::min(
size(), _count);
56 mStream->read((
char*)_buf, count);