From b9080786be4ce7c18656a0421de6b9fd0b95d598 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 15 Oct 2019 21:24:05 +0300 Subject: MBinBuffer::assign = function to replace buffer contents --- include/m_system_cpp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/m_system_cpp.h') 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); }; -- cgit v1.2.3