diff options
Diffstat (limited to '')
-rw-r--r-- | source/ByteBuffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/ByteBuffer.h b/source/ByteBuffer.h index f49461fce..68dc48cd9 100644 --- a/source/ByteBuffer.h +++ b/source/ByteBuffer.h @@ -68,6 +68,9 @@ public: /// Skips reading by a_Count bytes; returns false if not enough bytes in the ringbuffer
bool SkipRead(int a_Count);
+ /// Reads all available data into a_Data
+ void ReadAll(AString & a_Data);
+
/// Removes the bytes that have been read from the ringbuffer
void CommitRead(void);
|