diff options
author | Richard Linden <none@none> | 2013-04-08 13:59:19 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-04-08 13:59:19 -0700 |
commit | 288b43facb89184cc8fced7e7542baa2c8549831 (patch) | |
tree | 4cc9a03bc065810bbc39c6eda86852a6b3d6b53f /indra/llmessage/lldatapacker.h | |
parent | 164273afbb8131c5961266b7cb2c1e1d7973ea0b (diff) | |
parent | b4967dfa4f3817c890644cb9a545264b65fd747a (diff) |
Automated merge with bundle:c:\code\viewer-interesting+c:\users\richard\appdata\local\temp\thg.63pnn4\ssh__hg.lindenlab.com_richard_viewer-interesting-metrics_efdmpj.hg
Diffstat (limited to 'indra/llmessage/lldatapacker.h')
-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) { |