thanks for replying ..but i am not looking for the method readBytes. as this method will read one byte at a time. and that is of 8 bits.

i want to read those 8 bits from one byte.

also the textfile is not containing all 0s and 1s only 8 characters that is 64 bits. i want to read. what should i do ??

thank u once again....

intruder..