A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Joined: Sep 23, 2001
Feb 05, 2002 10:32:00
i use datainputstream to read a file and how can i look at the binary of the byte that i have read.
Joined: Jan 11, 2002
Feb 05, 2002 10:42:00
You can use the static toBinaryString method of the integer class.
You can also convert the byte on your own using the & operator ;-) and
I agree. Here's the link:
How to read binary file?
FilteInputStream and byte
How to read a C++-struct-constructed Binary Data
Legacy Data File
Help required to read binary file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015