[protobuf] How to control the output size of GzipOutputStream?

2011-05-20 Thread Shin
I attempt to use compressed data for my socket programing. The problem is the fixed output buffer size. Message *request; char buf[512]; stringbuf sbuf; sbuf.pubsetbuf((char*)buf, sizeof(buf)); ostream os(sbuf); OstreamOutputStream *oos = new OstreamOutputStream(os); GzipOutputStream *gzout = new

[protobuf] Issue 295 in protobuf: C++ Compilation of 2.4.1 fails GLIBCXX_3.4.11 Not found

2011-05-20 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 295 by sharat.k...@gmail.com: C++ Compilation of 2.4.1 fails GLIBCXX_3.4.11 Not found http://code.google.com/p/protobuf/issues/detail?id=295 What steps will reproduce the problem? 1. Download 2.4.1 2. Extract

[protobuf] Re: Issue 295 in protobuf: C++ Compilation of 2.4.1 fails GLIBCXX_3.4.11 Not found

2011-05-20 Thread protobuf
Comment #1 on issue 295 by sharat.k...@gmail.com: C++ Compilation of 2.4.1 fails GLIBCXX_3.4.11 Not found http://code.google.com/p/protobuf/issues/detail?id=295 forgot to mention, I have tried this against GCC 4.4.1 and 4.4.2 -- You received this message because you are subscribed to the

Re: [protobuf] How to control the output size of GzipOutputStream?

2011-05-20 Thread Jason Hsueh
Haven't used stringbuf before, but it looks like that just sets the internal buffer for the stringbuf. You are going through a few layers of buffering here; you probably want to just directly use a ZeroCopyOutputStream implementation that writes to the socket, like FileOutputStream, which allows

[protobuf] XSD to define .proto format?

2011-05-20 Thread Marco Tedone
Hi all, Is there an XML schema (XSD) which defines the .proto file format? I need it so that JAXB can create the POJOs to fill a .proto file. Regards, Marco -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to this group, send email