Encode UTF-8 text to base64 or decode base64 back to UTF-8, with byte counts. Lets an agent move binary-ish payloads through JSON without shipping a codec.