Hello,
I'm using GPB in a visual studio project. Despite doing a release
build with as many optimizations as possible, I've noticed that
resulting binaries have strings inside of them that contain the file
names for each .cc file resulting from each .proto file, lots of error
messages, etc. I
Hi,
Are there any examples on how to use GzipOUtputStream in ProtoBuf?
I've manages so far combo:
_raw_out.reset(new
::google::protobuf::io::OstreamOutputStream(_output));
_coded_out.reset(new
::google::protobuf::io::CodedOutputStream(_raw_out.get()));
(both objects are
You wrap GZipOutputStream around your underlying output stream, and use the
GZipOutputStream with CodedOutputStream instead:
On Tue, Mar 8, 2011 at 10:10 AM, ksamdev samvel.khalat...@gmail.com wrote:
Hi,
Are there any examples on how to use GzipOUtputStream in ProtoBuf?
I've manages so far
Thank you for the response.
On Mar 8, 5:59 am, Evan Jones ev...@mit.edu wrote:
On Mar 8, 2011, at 2:12 , Linus wrote:
At a later stage in the code, the values of (say) Message A are
changed by the user. Is there a way of modifying only Message A and
updating the file on disk, without
Cool, it worked great.
Can I mix Raw out and Gzip out in the file?
Say, I'd like to write a raw number (4 bytes) at the beginning of the file
and then add the message through the Gzip stream. Visually, my file would
look like:
.
where first - 4 bytes written
I don't think there are any problems with having a raw prefix, and just
wrapping GZipInputStream around the raw input stream after it's been read,
but that sounds pretty messy. It seems easier to just make the whole thing a
gzip stream - it can then also be easily read by other tools that use
I can build and install from the latest version, but both the C and
Java tests fail (on OS/X):
make check
mv: rename src/.deps/gtest.Tpo to src/.deps/gtest.Plo: No such file or
directory
make[3]: *** [src/gtest.lo] Error 1
mvn test
Tests in error:
My goal is to port Google's libphonenumber to java-me, so I can use it
on a BlackBerry. The current subgoal is to get a Protocol Buffer
compiler for java-me that is suitable for porting libphonenumber.
There are four existing libraries mentioned on the wiki. I've tried
two of them that appeared