Implement a very basic stream reader based on block reader.