Encode and decode strings with length prefixes and count codes
Serialize a list of arbitrary strings into one string and back without ambiguity. A second variant decodes a compact code where some letters are written as two digits with a marker and a parenthesised number repeats the previous letter.
No answer yet. Write the first one; the best answer gets endorsed.

