Updates:
        Status: Invalid
        Owner: xiaof...@google.com

Comment #3 on issue 469 by xiaof...@google.com: how to write/read more than one piece of message to/from a text file in c++
http://code.google.com/p/protobuf/issues/detail?id=469

You must delimiter your messages by some other means rather than "lines". Reading "a line" from a binary file is almost always wrong. Serialized messages are just binary data chunks. You can use whatever means you use to read/write multiple data chunks in a file to read/write multiple messages.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to