[Standards] Binary data over XMPP
Jesus Cea
jcea at argo.es
Tue Nov 27 17:20:38 CST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dave Cridland wrote:
> Note that compressing first, then base64 encoding, then compressing
> *again* actually gave better results than base64 *then* compressing,
> meaning that almost every file transfer we do under base64 should be
> compressed first.
But if you compress the output before sending, you have again 8 bit data
that you must encode to send inside XMPP.
The question is: if you compress before base64, you send less data.
Sure. But that is orthogonal to the baseX encoding.
- --
Jesus Cea Avion _/_/ _/_/_/ _/_/_/
jcea at argo.es http://www.argo.es/~jcea/ _/_/ _/_/ _/_/ _/_/ _/_/
jabber / xmpp:jcea at jabber.org _/_/ _/_/ _/_/_/_/_/
_/_/ _/_/ _/_/ _/_/ _/_/
"Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/
"My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBR0ymRZlgi5GaxT1NAQJpzQQAiLxk8lapCaEpDaweXn3U2tO12IPVv8Ry
MbrcgRKZzozTS6fWCfpqkE4h4toIkQHt6Uv7/ftaFnGzyF2E7PdFf5fdgi8KY8xF
QRXQOVdyIaj9GSE2tljR6MNvoslHFrFA8ScO4hTgt6M690AP7f2tWoRf8eQ7Zucm
VIjuH+FuZT0=
=IXsU
-----END PGP SIGNATURE-----
More information about the Standards
mailing list