System.NetEncoding.TSqidsEncoding.DecodeSingle
Delphi
function DecodeSingle(const AHash: string): Integer;
C++
int __fastcall DecodeSingle(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 integer.
AHash
is the parameter for the encoded string.
Note: DecodeSingle raises an exception when
AHash
contains an invalid argument or the number of encoded values is different from 1. To decode multiple encoded values, use Decode.