Unit 'basenenc' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl-base]

TAlphabetEncoder

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: basenenc.pp line 30

type TAlphabetEncoder = class(TObject)

protected

const

  StdBits = array [TStandardEncoder] of Byte; = (4, 5, 5, 5, 6, 6)

  StdPads = array [TStandardEncoder] of Byte; = (0, 8, 8, 8, 4, 4)

  StdAlpha = array [TStandardEncoder] of string; = ('0123456789ABCDEF', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567', '0123456789ABCDEFGHIJKLMNOPQRSTUV', '0123456789ABCDEFGHJKMNPQRSTVWXYZ', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_')

public

  constructor Create(); virtual;

  destructor Done;

  class function CreateStdEncoder();

  function Encode();

  function Decode();

  function GetDecodeLen();

  property Bits: Byte; [r]

  property Alphabet: TBytes; [r]

  property Reverse: TReverseAlphabet; [r]

  property Padding: Integer; [r]

  property Base16: TAlphabetEncoder; [r]

  property Base32: TAlphabetEncoder; [r]

  property Base32Hex: TAlphabetEncoder; [r]

  property Base32Crockford: TAlphabetEncoder; [r]

  property Base64: TAlphabetEncoder; [r]

  property Base64URL: TAlphabetEncoder; [r]

end;

Inheritance

TAlphabetEncoder

|

TObject


Documentation generated on: 2023-03-18