flush underlying streams on close()/sync()

This commit is contained in:
Guenter Obiltschnig
2014-12-02 09:08:07 +01:00
parent c455631e45
commit 9af6b5b2db
3 changed files with 11 additions and 0 deletions

View File

@@ -85,6 +85,7 @@ public:
protected:
int readFromDevice(char* buffer, std::streamsize length);
int writeToDevice(const char* buffer, std::streamsize length);
int sync();
private:
enum