@Dada It's fairly easy if you don't want to include settings. All fields (header, code, footer, input, and any non-negative amount of arguments) as UTF-8 encoded byte strings, joined with separator \xff
, compressed with DEFLATE, then converted to Base64 with @
instead of +
and no tailing =
.