Progress on mingw driver
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user