.net - 如何从 base-256 转换为 base-N,其中 N 大于 16?

标签 .net algorithm

我需要将一个字节数组转换为另一个基数,即 85。在数学术语中,问题是如何以最有效的方式从 base-256 转换为 base-85?

这个问题的灵感来自于我之前的问题 - What is the most efficient way to encode an arbitrary GUID into readable ASCII (33-127)?

谢谢。

最佳答案

关于.net - 如何从 base-256 转换为 base-N,其中 N 大于 16?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2843017/

相关文章:

c# - 加里奥.Model.ModelException : An exception occurred while invoking a test driver

.net - WPF 窗口类的 IDisposable 成员

algorithm - 批量地理定位数百万个IP

c++ - 评估一个数是否是 4 的整数幂

arrays - "erase as few numbers as possible to make remaining in increasing order"的算法

.net - 使用 recordId 作为哈希码是个坏主意吗?

mysql - 如何使用 vb.net 连接到 godaddy cpanel 中的在线数据库

c# - 如何改进这个 EF 查询?

c# - c#中字符串比较的更快算法

arrays - 查找数组的所有元素是否不同的最快方法?