Unit base64

Uses
Classes, Interfaces, Objects and Records
Types
Variables

Description

Include->Base64 - Base64 encode and decode.

Overview

Functions and Procedures

function b64_encode(src : PuInt8; len : uInt32; out_len : PuInt32) : PuInt8;
function b64_decode(src : PuInt8; len : uInt32; out_len : PuInt32) : PuInt8;
function b64_encode_str(src : PChar) : PChar;
function b64_decode_str(src : PChar) : PChar;

Constants

base64_enc_map : array[0..63] of char = ('A','B','C','D','E', 'F','G','H','I','J','K','L','M','N','O','P', 'Q','R','S','T','U','V','W','X','Y','Z','a', 'b','c','d','e','f','g','h','i','j','k','l', 'm','n','o','p','q','r','s','t','u','v','w', 'x','y','z','0','1','2','3','4','5','6','7', '8','9','+','/');

Description

Functions and Procedures

function b64_encode(src : PuInt8; len : uInt32; out_len : PuInt32) : PuInt8;
 
function b64_decode(src : PuInt8; len : uInt32; out_len : PuInt32) : PuInt8;
 
function b64_encode_str(src : PChar) : PChar;
 
function b64_decode_str(src : PChar) : PChar;
 

Constants

base64_enc_map : array[0..63] of char = ('A','B','C','D','E', 'F','G','H','I','J','K','L','M','N','O','P', 'Q','R','S','T','U','V','W','X','Y','Z','a', 'b','c','d','e','f','g','h','i','j','k','l', 'm','n','o','p','q','r','s','t','u','v','w', 'x','y','z','0','1','2','3','4','5','6','7', '8','9','+','/');
 

Author


Generated by PasDoc 0.16.0.