On Mon, Jan 21, 2013 at 7:53 PM, David Granados <[email protected]> wrote:
> Hello. > > I compressed a proto object: Mail, in a file named : file.sav. > > Now i need get the proto object mail again, from the file.sav. > > I'm tying some like: > google::protobuf::io::FileInputStream file_stream(filedescriptor); > google::protobuf::io::GzipInputStream gzip_stream(&file_stream, > GzipInputStream::GZIP); > Wrap it with a CodedInputStream<https://code.google.com/p/protobuf/source/browse/trunk/src/google/protobuf/io/coded_stream.h#159> and call mail.ParseFromCodedInputStream() to parse from the stream. > > I don't know how deserializate from stream to object Mail. > > Regards. > > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/protobuf/-/PiBkAgKCjgUJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
