make accessors for decendants of io to use to get to buffer