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