Moved to BufferedInputStream/BufferedOutputStream.