>These sorts of tricks are a pain in java because of the lack of signed >types anyway.
s/signed/unsigned ? java integers are all signed, including bytes. it's very funky that reading a byte gets you a signed value, but reading a single byte into an integer via an InputStream.read() call gets you an unsigned byte! -- jason.software.particle --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---