setBuffered implemented using setReadThrough and setWriteThrough