mirror of
https://github.com/NoelFB/blah.git
synced 2026-10-19 19:09:23 +08:00
added resize method to bufferstream
This commit is contained in:
1 parent
5f9df4beee
commit
60f3939ff7
2 files changed
+27
-15
No files matched your search
@@ -19,6 +19,8 @@ namespace Blah
|
||||
virtual bool is_readable() const override { return true; }
|
||||
virtual bool is_writable() const override { return true; }
|
||||
virtual void close() override;
|
||||
|
||||
void resize(i64 length);
|
||||
void clear() { m_length = m_position = 0; }
|
||||
|
||||
char* data() { return m_buffer; }
|
||||
|
||||
Reference in new issue
Block a user