Add default parameter for CPacker::AddString

This commit is contained in:
Robert Müller 2023-05-03 18:17:27 +02:00
parent fd4491b307
commit f6015be263

View file

@ -20,7 +20,7 @@ private:
public:
void Reset();
void AddInt(int i);
void AddString(const char *pStr, int Limit);
void AddString(const char *pStr, int Limit = PACKER_BUFFER_SIZE);
void AddRaw(const void *pData, int Size);
int Size() const { return (int)(m_pCurrent - m_aBuffer); }