Progress on mingw driver

This commit is contained in:
2021-10-07 14:58:20 -04:00
parent bce756d1fd
commit e7f55a2411
16 changed files with 405 additions and 172 deletions

View File

@@ -277,7 +277,8 @@ public:
// It just writes the bytes.
//
void write_bytes(const char *bytes, int64_t len);
void write_bytes(const std::string &bytes);
// Read a block of bytes from the buffer.
//
// Throws StreamEof if the specified number of bytes aren't present.
@@ -350,10 +351,10 @@ public:
void overwrite_uint64(int64_t write_count_after, uint64_t v);
// This function checks to see if the buffer is empty.
bool at_eof();
bool empty();
// Verify that the buffer is empty, if not, throw StreamCorruption.
void verify_eof();
void verify_empty();
// Rewind the read cursor to a previous position.
void unread_to(int64_t total_reads);