/[Apache-SVN]
ViewVC logotype

Revision 665555


Jump to revision: Previous Next
Author: dreiss
Date: Wed Mar 5 07:51:44 2008 UTC (16 years, 8 months ago)
Changed paths: 2
Log Message:
Thrift: Add writePtr(), wroteBytes() to TMemoryBuffer

Summary: This adds the discussed interface to TMemoryBuffer, as follows:

         - writePtr(size) returns a ptr you can write (size) bytes to
         - wroteBytes() lets it know you wrote that many bytes

         To do this, I refactored an:
         - ensureCanWrite(size) private func

Reviewed By: dreiss

Test Plan: works in my test environment

Revert: OK

TracCamp Project: Thrift

DiffCamp Revision: 8739


Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TTransportUtils.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TTransportUtils.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26