pub fn wrap<T>(inner: T) -> Wrap<T>
Wrap a type so that it implements Reader or Writer as appropriate.