System.NetEncoding.TSqidsEncoding.Decode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Decode(const AHash: string): TArray<Integer>;

C++

System::DynamicArray<int> __fastcall Decode(const System::UnicodeString AHash);

Properties

Type Visibility Source Unit Parent
function public
System.NetEncoding.pas
System.NetEncoding.hpp
System.NetEncoding TSqidsEncoding

Description

Decodes a Sqids encoded string and returns an array of integers.

AHash is the parameter for the encoded string.

Note: When AHash contains an invalid value, then the resulting array contains only the first successfully decoded integer value. All other values are discarded.

See Also