From 4c49c328cbf78711341fd1b73935c2d2021d5cf3 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 15 Apr 2008 01:58:05 +0000 Subject: Struct32 encoding git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648095 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/Serializer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/Serializer.h') 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 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. */ -- cgit v1.2.1