[SCJP 1.2, SCJD, SCWCD]
read(byte) - Reads some number of bytes from the contained input stream and stores them into the buffer array b. The number of bytes actually read is returned as an integer. readFully(byte) - Reads some bytes from an input stream and stores them into the buffer array b. The number of bytes read is equal to the length of b.
[OCA 8 book] [OCP 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2