Deprecate readandwrite
and add docs for Pipe
#24718
+45
−29
Merged