On 02/04/2012 08:28, Jérôme Duval wrote: > Hi François, > > Le 2 avril 2012 00:49, <revol@xxxxxxx> a écrit : >> c001665: Add a packed argument to encode_base64. >> >> Reintroduced the '=' padding modulo 3 characters from the original code >> from the mail kit, >> and a packed option to avoid it. >> Broadway uses this packed scheme to save bytes when sending many separate >> values. >> TODO: merge this with the mail kit one somewhere? > > Should be here: > http://cgit.haiku-os.org/haiku/plain/src/kits/mail/mail_encoding.cpp That I know, it's where I copied it from :P I meant to factor it out. Didn't want to pull libmail into app_server for this, and I needed a twisted version anyway. François.