Hi,
My writer is in java and I'm saving my serialized proto data into file,
when i try to deserialize this message in python it gives nothing (empty pb)
Sample python code:
message = My_pb2.NewMessage()
f = open("serialiedInJavaFile", 'rb')
message.ParseFromString(f.read())
f.close()
# Its still empty
#print message
No error, nothing. what's wrong?
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.