thrift/lib
David Reiss edde04804b 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


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665555 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 07:51:44 +00:00
..
cocoa/src Thrift: Whitespace cleanup. 2008-02-06 22:18:40 +00:00
cpp Thrift: Add writePtr(), wroteBytes() to TMemoryBuffer 2008-03-05 07:51:44 +00:00
csharp Add Stop methods for C# servers. 2008-03-02 00:58:04 +00:00
erl [thrift] Erlang build tweaks 2008-03-04 07:09:12 +00:00
hs Thrift haskell getTransport working 2008-02-11 22:59:01 +00:00
java Add a TDeserializer for Java. 2008-03-02 06:29:16 +00:00
ocaml Thrift: Whitespace cleanup. 2008-02-06 22:18:40 +00:00
perl Thrift: Whitespace cleanup. 2008-02-06 22:18:40 +00:00
php [thrift] PHP thrift_protocol extension, revision 2.0 2008-03-04 01:08:23 +00:00
py Use "all-local" instead of all in Makefile.am. 2008-02-24 17:45:03 +00:00
rb Move Ruby fielded object creation from generated constructor to ThriftStruct 2008-02-26 06:40:22 +00:00
st Merging in some Smalltalk changes from Patrick Collison 2007-11-21 08:43:35 +00:00
Makefile.am [thrift] Erlang build tweaks 2008-03-04 07:09:12 +00:00