Converts raw data to a readable stream.