Unit RALTypes

Description

Unit for all type definitions used within PascalRAL

These definitions are meant to keep same code across all versions of the IDE or IDEs that might differ on the charset code or basic type length. Expect heavy usage of IFDEFs in this unit

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Type TRALBase64StringHelper  

Functions and Procedures

function RALHighStr(const AStr: StringRAL): integer;
function StringToBytesUTF8(const AString: StringRAL): TBytes;
function BytesToStringUTF8(const ABytes: TBytes): StringRAL;
function StringToBytes(const AString: StringRAL): TBytes;
function BytesToString(const ABytes: TBytes): StringRAL;

Types

CharRAL = UTF8Char;
DoubleRAL = Double;
Int64RAL = Int64;
IntegerRAL = Integer;
PCharRAL = ˆCharRAL;
StringRAL = UTF8String;
TRALBufFileStream = TBufferedFileStream;
TRALCriptoType = (...);
TRALDateTimeFormat = (...);
TRALExecBehavior = (...);
TRALJSONType = (...);
TRALMethod = (...);
TRALMethods = set of TRALMethod;
TRALParamKind = (...);
TRALParamKinds = set of TRALParamKind;
TRALSecurityOption = (...);
TRALSecurityOptions = set of TRALSecurityOption;
UInt64RAL = UInt64;

Constants

POSINISTR = Low(String);
EmptyStr: StringRAL = StringRAL('');

Description

Functions and Procedures

function RALHighStr(const AStr: StringRAL): integer;

Returns the last position of a string

function StringToBytesUTF8(const AString: StringRAL): TBytes;

This item has no description.

function BytesToStringUTF8(const ABytes: TBytes): StringRAL;

This item has no description.

function StringToBytes(const AString: StringRAL): TBytes;

This item has no description.

function BytesToString(const ABytes: TBytes): StringRAL;

This item has no description.

Types

CharRAL = UTF8Char;

This item has no description.

DoubleRAL = Double;

This item has no description.

Int64RAL = Int64;

This item has no description.

IntegerRAL = Integer;

This item has no description.

PCharRAL = ˆCharRAL;

This item has no description.

StringRAL = UTF8String;

This item has no description.

TRALBufFileStream = TBufferedFileStream;

This item has no description.

TRALCriptoType = (...);

This item has no description.

Values
  • crNone
  • crAES128
  • crAES192
  • crAES256
TRALDateTimeFormat = (...);

This item has no description.

Values
  • dtfUnix
  • dtfISO8601
  • dtfCustom
TRALExecBehavior = (...);

This item has no description.

Values
  • ebSingleThread
  • ebMultiThread
TRALJSONType = (...);

This item has no description.

Values
  • rjtString
  • rjtNumber
  • rjtBoolean
  • rjtObject
  • rjtArray
TRALMethod = (...);

This item has no description.

Values
  • amALL
  • amGET
  • amPOST
  • amPUT
  • amPATCH
  • amDELETE
  • amOPTIONS
  • amHEAD
  • amTRACE
TRALMethods = set of TRALMethod;

This item has no description.

TRALParamKind = (...);

This item has no description.

Values
  • rpkNONE
  • rpkBODY
  • rpkFIELD
  • rpkHEADER
  • rpkQUERY
  • rpkCOOKIE
TRALParamKinds = set of TRALParamKind;

This item has no description.

TRALSecurityOption = (...);

This item has no description.

Values
  • rsoBruteForceProtection
  • rsoFloodProtection
  • rsoPathTransvBlackList
TRALSecurityOptions = set of TRALSecurityOption;

This item has no description.

UInt64RAL = UInt64;

This item has no description.

Constants

POSINISTR = Low(String);

This item has no description.

EmptyStr: StringRAL = StringRAL('');

old versions of Delphi that don't have sLineBreak



PascalRAL - GitHub Repository
Generated by PasDoc 1.0.4.