<?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/tag/base64/</link><description>多元化原創文章，內容包羅萬象，有程式語言、網站應用、軟體介紹、硬體介紹、作業系統、旅行遊記、專題採訪、益智問題、文學創作，以及作者們的知識分享和作品分享。</description><language>zh-TW</language><lastBuildDate>Thu, 26 Nov 2026 02:32:11 +0800</lastBuildDate><atom:link href="https://magiclen.org/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/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/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/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/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/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/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/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/java-base64</guid><pubDate>Sat, 4 Oct 2014 19:34:41 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>