Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用自定义字符集实现 base32,基本上是 [A-Z0-5]。不幸的是,我没有为此建立查找表。
有人对我如何构建整个编码和解码方案有任何指示吗?
看看现有的 base32 实现(https://github.com/agnoster/base32-js),它通常不超过几百行。