ENH:modify the way of using SteamReader