Hi,
my code is something like:
{
InputStream is = new FileInputStream(filename);
CodedInputStream coded_input = CodedInputStream.newInstance(is);
int tag = coded_input.readTag();
byte data[] = coded_input.readRawBytes(tag);
}
The problem is that the filename has binary protobuf content and the
readRawBytes() does some conversion which I don't want:
original data in the file:
... 10 F9 DB BA ...
after readRawBytes:
... 10 EF BF BD DB BA ...
How can I avoid that?
--
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 https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.