9 #ifndef CPPCOMMON_READER_H
10 #define CPPCOMMON_READER_H
29 virtual ~
Reader() noexcept = default;
40 virtual
size_t Read(
void* buffer,
size_t size) = 0;
Reader() noexcept=default
std::vector< std::string > ReadAllLines()
Read all text lines.
std::vector< uint8_t > ReadAllBytes()
Read all bytes.
std::string ReadAllText()
Read all text.
virtual size_t Read(void *buffer, size_t size)=0
Read a bytes buffer base method.
C++ Common project definitions.