pub fn buf2pat( buf: &[u8], leader: &str, zero_pad: bool, quad_sep: bool, ) -> String
General formatter for @p and @q encoded strings.