System.NetEncoding.TSqidsEncoding.TryDecodeSingle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function TryDecodeSingle(const AHash: string; out ANumber: Integer): Boolean;

C++

bool __fastcall TryDecodeSingle(const System::UnicodeString AHash, /* out */ int &ANumber);

Properties

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

Description

Tries to decode a Sqids encoded string value and returns the decoded integer.

If AHash is valid, TryDecodeSingle returns True and sets AHash to decoded integer value; otherwise, TryDecodeSingle returns False.

See Also