Turns any InputResource into a ReaderResource using whatever implicit Codec is found in scope.
Turns any OutputResource into a WriterResource using whatever implicit Codec is found in scope.