72737475767778
public void transfer(OutputStream outputStream) { transfer(outputStream, 8192); } public TaskStream<Byte> asTaskStream() { return new TaskStream<Byte>(new InputStreamIterator(inputStream)); }
24252627282930
public static TaskStream<Character> characterTaskStream(Reader reader) { return new TaskStream<Character>(new ReaderStreamIterator(reader)); } public static TaskStream<Byte> byteTaskStream(InputStream inputStream) { return new TaskStream<Byte>(new InputStreamIterator(inputStream)); }