A DESCRIPTION OF THE PROBLEM :
There are several places at this document where 'character' is erroneously used.
They should be replaced by 'byte'.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Example at description of field count:
The index one greater than the last valid byte in the input stream buffer.
ACTUAL -
The index one greater than the last valid character in the input stream buffer.
URL OF FAULTY DOCUMENTATION :
file:///C:/Program Files/Java/jdk1.6.0/docs/api/java/io/ByteArrayInputStream.html
There are several places at this document where 'character' is erroneously used.
They should be replaced by 'byte'.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Example at description of field count:
The index one greater than the last valid byte in the input stream buffer.
ACTUAL -
The index one greater than the last valid character in the input stream buffer.
URL OF FAULTY DOCUMENTATION :
file:///C:/Program Files/Java/jdk1.6.0/docs/api/java/io/ByteArrayInputStream.html