pub fn add_gsub(buf: &mut LuaBuffer, s: &[u8], pat: &[u8], repl: &[u8])
Perform global byte-string substitution: replace all occurrences of pat with repl in s, appending results into buf.
pat
repl
s
buf