Re: [protobuf] Protocol buffers, Qt and std::string's

2010-09-14 Thread Kenton Varda
The methods of WireFormat are just short helpers that call into CodedOutputStream. CodedOutputStream has methods that accept a raw buffer pointer and size. So you could get away with modifying the code generator only if you call the CodedOutputStream methods directly. That said, what you're

[protobuf] Protocol buffers, Qt and std::string's

2010-09-10 Thread Algirdasss
Hy, I am using protocol buffers in my current project. I am coding it with Qt/C++. My application must handle intensive RPC communications between clients and server. RPC is implemented on the basis of protocol buffers. Because application internal data structures uses QString's and QByteArray's,