read() and write() were removed in 68a890e79f. Backport of 98ee57e343 from master
68a890e79f
98ee57e343