diff options
author | Richard Linden <none@none> | 2013-03-22 10:56:19 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-03-22 10:56:19 -0700 |
commit | 21b7de56ad6c1efd81ad4406aba1428633b9356e (patch) | |
tree | e43549e0684da27f03e6507bc118403e876c2458 /indra/llmessage | |
parent | 68f9f656cd22332e46959a90347e38f79c19a66c (diff) | |
parent | 041024e8e5d1f27ab77dc4fa2c1e38b8266e7b41 (diff) |
Automated merge with bundle:d:\code\viewer-interesting+c:\users\richard\appdata\local\temp\thg.sp0eps\ssh__richard@hg.lindenlab.com_richard_viewer-interesting-metrics_5o81ck.hg
Diffstat (limited to 'indra/llmessage')
-rw-r--r-- | indra/llmessage/lldatapacker.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llmessage/lldatapacker.h b/indra/llmessage/lldatapacker.h index b0a638c16e..226752d52e 100644 --- a/indra/llmessage/lldatapacker.h +++ b/indra/llmessage/lldatapacker.h @@ -170,6 +170,7 @@ public: S32 getBufferSize() const { return mBufferSize; } const U8* getBuffer() const { return mBufferp; } void reset() { mCurBufferp = mBufferp; mWriteEnabled = (mCurBufferp != NULL); } + void shift(S32 offset) { reset(); mCurBufferp += offset;} void freeBuffer() { delete [] mBufferp; mBufferp = mCurBufferp = NULL; mBufferSize = 0; mWriteEnabled = FALSE; } void assignBuffer(U8 *bufferp, S32 size) { |