- The first variant tries to read enough data to fill the array b.
- The second variant tries to read length bytes of data into the array b starting at position offset.
Neither of these methods is guaranteed to read as many bytes as they want.
Both methods return the number of bytes actually read, or -1 on end-of-stream.
Question: How do you create Efficient Input using Streams in Java?