Delphi Base64 編解碼函數


 

Delphi 自帶 Base64 編解碼的單元, EncdDecd
這個單元提供兩套四個公開函數:

對流的編解碼:
procedure EncodeStream(Input, Output: TStream); // 編碼
procedure DecodeStream(Input, Output: TStream); // 解碼

// 對字符串的編解碼:
function EncodeString(const Input: string): string; // 編碼
function DecodeString(const Input: string): string; // 解碼


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM