- 人气:
- 放大
- 缩小
- 二维码
- 赞赏
delphi 自带的 Base64 编解码函数
Uses EncdDecd;
对流的编解码:
procedure EncodeStream(Input, Output: TStream); // 编码
procedure DecodeStream(Input, Output: TStream); // 解码
// 对字符串的编解码:
function EncodeString(const Input: string): string; // 编码
function DecodeString(const Input: string): string; // 解码