The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


One suggestion

Posted by Hiran on January 30, 2002 at 5:09 PM

You could try using the read method found in the InputStreamReader class of the package. There are several read methods, but one of them returns an int, which is the integer value of the character read. Then you could cast it to a byte. If this isn't what you mean, post some code, or a more specific question. Otherwise, hope this helps.

> How to read binary inputs in Java (not necessarily terminating with \n) ?


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us