<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><title>MagicLen</title><link>https://magiclen.org/cn/tag/base64/</link><description>多元化原创文章，内容包罗万象，有编程语言、网站应用、软件介绍、硬件介绍、操作系统、旅行游记、专题采访、益智问题、文学创作，以及作者们的知识分享和作品分享。</description><language>zh-CN</language><lastBuildDate>Sun, 22 Nov 2026 18:40:59 +0800</lastBuildDate><atom:link href="https://magiclen.org/cn/tag/base64/feed/" rel="self" type="application/rss+xml"/><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>8</sy:updateFrequency><sy:updateBase>1970-01-01T00:00+00:00</sy:updateBase><item><title>如何编码或解码 Base64 的数据？</title><link>https://magiclen.org/cn/base64-encode-decode/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2018/12/base64-220x162.jpg" srcset="https://magiclen.org/wp-content/uploads/2018/12/base64-220x162.jpg 1x, https://magiclen.org/wp-content/uploads/2018/12/base64-440x324.jpg 2x, https://magiclen.org/wp-content/uploads/2018/12/base64-660x486.jpg 3x" alt>
Base64 是一种能将任意 Binary 数据用 64 种字符组合成字符串的方法，而这个 Binary 数据和字符串数据彼此之间是可以互相转换的，十分方便。在实际应用上，我们常会将任意的图片、视频、声音等二进制文件转成 Base64 字符串，方便在数据库或是网络间传输。那么该如何进行 Base64 的编码或解码呢？]]></description><category>作品分享</category><category>网站应用</category><category>Base64</category><category>云端工具</category><guid>https://magiclen.org/cn/base64-encode-decode</guid><pubDate>Thu, 10 Jan 2019 12:00:46 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>如何用 Rust 编程语言进行大量数据的 Base64 编码？</title><link>https://magiclen.org/cn/base64-stream/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2018/04/rust-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2018/04/rust-220x162.png 1x, https://magiclen.org/wp-content/uploads/2018/04/rust-440x324.png 2x, https://magiclen.org/wp-content/uploads/2018/04/rust-660x486.png 3x" alt>
Base64 是一种能将任意 Binary 数据用 64 种字符组合成字符串的方法，而这个 Binary 数据和字符串数据彼此之间是可以互相转换的，十分方便。Base64 通常会用在小量数据上，因此可以完全将数据放在主内存中处理。但如果遇到大量数据时该怎么办呢？]]></description><category>Rust</category><category>Base64</category><category>Rust</category><category>base64-stream</category><guid>https://magiclen.org/cn/base64-stream</guid><pubDate>Wed, 21 Nov 2018 20:00:38 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>如何使用 Rust 编程语言进行 Base64 URL 的编码(Encode)与解码(Decode)？</title><link>https://magiclen.org/cn/base64-url/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2018/04/rust-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2018/04/rust-220x162.png 1x, https://magiclen.org/wp-content/uploads/2018/04/rust-440x324.png 2x, https://magiclen.org/wp-content/uploads/2018/04/rust-660x486.png 3x" alt>
Base64 是一种能将任意 Binary 数据用 64 种字符组合成字符串的方法，而这个 Binary 数据和字符串数据彼此之间是可以互相转换的，十分方便。在实际应用上，Base64 除了能将 Binary 数据可视化之外，也常用来表示数据加密过后的内容。然而，标准版本的 Base64 对于 URL 或是文件路径来说可能不是那么的友善，因为编码后的 Base64 数据可能有「+」或是「/」这两种...]]></description><category>Rust</category><category>Base64</category><category>Rust</category><category>base64-url</category><guid>https://magiclen.org/cn/base64-url</guid><pubDate>Thu, 4 Oct 2018 20:00:14 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>Java 如何进行 Base64 的编码(Encode)与解码(Decode)？</title><link>https://magiclen.org/cn/java-base64/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/02/java-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/02/java-660x486.png 3x" alt>
Base64 是一种能将任意 Binary 数据用 64 种字符组合成字符串的方法，而这个 Binary 数据和字符串数据彼此之间是可以互相转换的，十分方便。在实际应用上，Base64 除了能将 Binary 数据可视化之外，也常用来表示数据加密过后的内容。如果要使用 Java 编程语言来实作 Base64 的编码与解码功能，可以参考本篇文章的作法。]]></description><category>研究分享</category><category>Java</category><category>Base64</category><category>Java</category><guid>https://magiclen.org/cn/java-base64</guid><pubDate>Sat, 4 Oct 2014 19:34:41 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>