CSR :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
When InputStream#read is invoked with a byte[] of length 0 then 0 is returned without attempting to read any bytes. ByteArrayInputStream breaks this contract for the case that all bytes have been read. In that case it returns -1 instead of 0.
|