summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_system.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/m_system.h b/include/m_system.h
index 2296a7993b..e64f4376f1 100644
--- a/include/m_system.h
+++ b/include/m_system.h
@@ -485,10 +485,18 @@ public:
// adds a buffer to the end
void append(const void *pBuf, size_t bufLen);
+
+ __forceinline void append(const MBinBuffer &buf)
+ { append(buf.data(), buf.length());
+ }
// adds a buffer to the beginning
void appendBefore(const void *pBuf, size_t bufLen);
+ __forceinline void appendBefore(const MBinBuffer &buf)
+ { appendBefore(buf.data(), buf.length());
+ }
+
// replaces buffer contents
void assign(const void *pBuf, size_t bufLen);