Open wang007 opened 3 years ago
readStream mapping to other type of readStream to support pipe
ReadStream rs; WriteStream ws;
when ReadStream of sub type and WriteStream of sub type do not match, Pipe cannot be performed. so add map function to support this;
rs.map(Integer::toString).pipeTo(ws);
Read me
readStream mapping to other type of readStream to support pipe
Describe the feature
ReadStream rs;
WriteStream ws;
when ReadStream of sub type and WriteStream of sub type do not match, Pipe cannot be performed. so add map function to support this;