summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ByteBuffer.h')
-rw-r--r--src/ByteBuffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ByteBuffer.h b/src/ByteBuffer.h
index f730c594e..7b589f341 100644
--- a/src/ByteBuffer.h
+++ b/src/ByteBuffer.h
@@ -113,6 +113,9 @@ public:
/** Writes a_Count bytes into a_Buffer; returns true if successful */
bool WriteBuf(const void * a_Buffer, size_t a_Count);
+ /** Writes a_Count bytes into a_Buffer; returns true if successful */
+ bool WriteBuf(size_t a_Count, unsigned char a_Value);
+
/** Reads a_Count bytes into a_String; returns true if successful */
bool ReadSome(ContiguousByteBuffer & a_String, size_t a_Count);