diff options
author | Alan Conway <aconway@apache.org> | 2008-04-15 01:58:05 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-04-15 01:58:05 +0000 |
commit | 4c49c328cbf78711341fd1b73935c2d2021d5cf3 (patch) | |
tree | bf486ace4d214f95ef61d52ea0b5d2519f5044e1 /cpp/src/qpid/Serializer.h | |
parent | 8543f48f658b001f063112ea4472f57d9068ed89 (diff) | |
download | qpid-python-4c49c328cbf78711341fd1b73935c2d2021d5cf3.tar.gz |
Struct32 encoding
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648095 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/Serializer.h')
-rw-r--r-- | cpp/src/qpid/Serializer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/Serializer.h b/cpp/src/qpid/Serializer.h index fc53097207..a8ded9f5e0 100644 --- a/cpp/src/qpid/Serializer.h +++ b/cpp/src/qpid/Serializer.h @@ -105,7 +105,7 @@ template <class Derived> class Serializer { /** Get the max number of bytes that can be processed under the * current limit. */ - size_t getLimit() const { + size_t bytesRemaining() const { return limit - bytes; } /** Set absolute limit. */ |