summaryrefslogtreecommitdiff
path: root/include/m_system_cpp.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-10-15 21:24:05 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-10-15 21:24:05 +0300
commitb9080786be4ce7c18656a0421de6b9fd0b95d598 (patch)
tree055b56f6bf397f1d49d79d2b227a11485977c9a9 /include/m_system_cpp.h
parent33724ec73d87317bc58d4100898775712299a89c (diff)
MBinBuffer::assign = function to replace buffer contents
Diffstat (limited to 'include/m_system_cpp.h')
-rw-r--r--include/m_system_cpp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_system_cpp.h b/include/m_system_cpp.h
index a592311f37..36b8119684 100644
--- a/include/m_system_cpp.h
+++ b/include/m_system_cpp.h
@@ -382,6 +382,9 @@ public:
// adds a buffer to the beginning
void appendBefore(void *pBuf, size_t bufLen);
+ // replaces buffer contents
+ void assign(void *pBuf, size_t bufLen);
+
// drops a part of buffer
void remove(size_t sz);
};