[protobuf] Documentation bad example

2014-11-03 Thread acidtonic
On the page https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.io.coded_stream; there is an example at the top of the page which contains code that appears to show a user how to create and serialize a message to a file. However the flags to open the file lack the

Re: [protobuf] Documentation bad example

2014-11-03 Thread 'Feng Xiao' via Protocol Buffers
Thanks Zach. The documentation is generated from comments in the source code coded_stream.h https://github.com/google/protobuf/blob/master/src/google/protobuf/io/coded_stream.h. Could you help send us a patch to fix this problem? (Or file an issue on the github site