Unit Grijjy.BinaryCoding

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

 

Overview

Functions and Procedures

function goBase64Encode(const AData: Pointer; const ASize: Integer): TBytes; overload;
function goBase64Encode(const AData: TBytes): TBytes; overload; inline;
function goBase64Decode(const AData: Pointer; const ASize: Integer): TBytes; overload;
function goBase64Decode(const AData: TBytes): TBytes; overload; inline;

Description

Functions and Procedures

function goBase64Encode(const AData: Pointer; const ASize: Integer): TBytes; overload;

Encodes binary data to a Base64 buffer.

Parameters
AData
pointer to the binary data.
ASize
size of the binary data.
Returns

A byte array containing the Base64 encoded data

function goBase64Encode(const AData: TBytes): TBytes; overload; inline;

Encodes binary data to a Base64 buffer.

Parameters
AData
byte array containing the binary data.
Returns

A byte array containing the Base64 encoded data

function goBase64Decode(const AData: Pointer; const ASize: Integer): TBytes; overload;

Decodes Base64-encoded binary data.

Parameters
AData
pointer to the Base64-encoded data.
ASize
size of the Base64-encoded data.
Returns

A byte array containing the decoded binary data data

function goBase64Decode(const AData: TBytes): TBytes; overload; inline;

Decodes Base64-encoded binary data.

Parameters
AData
byte array containing the Base64-encoded data.
Returns

A byte array containing the decoded binary data data


Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26