System.NetEncoding.Sqids.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.Sqids.pas System.NetEncoding.Sqids.hpp |
System.NetEncoding.Sqids | 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.