|
||
|
Creating Efficient input using Streams How do you create Efficient Input using Streams in Java? Read() variants Here are two variants on the read() method: |
||
Method Signature
public int read(byte b[]) throws IOException public int read(byte b[], int offset, int length) throws IOException
Both methods return the number of bytes actually read, or -1 on end-of-stream. How do you create Efficient Input using Streams in Java? |
||
|
|
||
