credentiality
Thursday, January 16, 2014
Read text format protobuf from file in Java
java.io.InputStream inputStream = [open file and get input stream]
java.io.InputStreamReader reader = new java.io.InputStreamReader(inputStream);
MyProto.Builder myProtoBuilder = myProto.newBuilder();
TextFormat.merge(reader, myProtoBuilder);
1 comment:
Anonymous said...
Thanks!!!
2/18/2014 8:37 AM
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
1 comment:
Thanks!!!
Post a Comment