r1166@dev030 (orig r58681): dreiss | 2007-09-06 18:26:30 -0700
Thrift: New methods for C++ transports.
Summary:
To support the upcoming variable-length encoding of integers in
TDenseProtocol, augment Thrift transports with two new methods:
borrow and consume. Borrow copies some data out of the transport
without consuming it, and consume... consumes it.
Reviewed By: mcslee
Test Plan:
Thrift compiles.
Should check in variable-length integer code for TDenseProtocol
right after this (git ruulz).
Revert Plan: revert stuff that uses these methods also.
git-svn-id: http://svn.facebook.com/svnroot/thrift/trunk@568 41a61cd8-c433-0410-bb1c-e256eeef9e11