Ascii85 aka Base85 更高效的binary->ascii编码

本文介绍了Ascii85编码,一种由Paul E. Rutter为btoa实用程序开发的二进制到文本的编码方式。通过使用五个ASCII字符来表示四个字节的二进制数据,该编码方式比uuencode或Base64更高效。现代主要应用于Adobe的PostScript和PDF文件格式中。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Ascii85 (also called "Base85") is a form of binary-to-text encoding developed by Paul E. Rutter for the btoa utility. By using five ASCII characters to represent four bytes of binary data (encoded size 25% larger), it is more efficient than uuencode or Base64, which use four characters to represent three bytes of data (33% increase).

Its main modern use is in Adobe's PostScript and Portable Document Format file formats.

能提高点效率是一点,反正编码也简单。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值