pub fn sink<W>(w: W) -> Sink<W> where
    W: Write