CyrusNajmabadi / metasyntactic

Automatically exported from code.google.com/p/metasyntactic
0 stars 0 forks source link

New feature Request : delimited writeTo and parseFrom #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello there,

thank you for this great plugin !

I have compiled protoc and generated the Peron.pb.h and Peron.pb.m files 
from the given example Person.proto.

I noticed that the followings methods are not generated as with java :
 - writeDelimitedTo(OutputStream output) : write msg 'size' then msg data
 - parseDelimitedFrom(InputStream input) : reads msg 'size' then 'size' bytes

Although this may be done manually by the user in the wrapping classes, I 
believe it would be more handy and coherent to generate them as for java.

Cheers,
Roudy

Original issue reported on code.google.com by roudy.da...@gmail.com on 14 Jun 2010 at 3:37

GoogleCodeExporter commented 9 years ago
I've decided to not fix this.  Adding a selector to do this is rather trivial 
on the client end.  Cheers!

Original comment by cyrus.na...@gmail.com on 2 Nov 2010 at 5:26