I have a file of bytes, which I read in with BufferedReader. Each
read from BufferedReader has a corresponding write to a
ByteArrayOutputStream.
Lurking in the file is a byte with value 128.
Now, I know that bytes are signed in Java, but for some reason the
value returned when it comes across the 128 byte is -60!
Can't work that one out, can you?
BufferedReader does character set conversion. What encoding do you
create it with?
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden