System.NetEncoding.Sqids.TSqidsEncoding.TryDecodeSingle
Delphi
function TryDecodeSingle(const AHash: string; out ANumber: Integer): Boolean;
C++
bool __fastcall TryDecodeSingle(const System::UnicodeString AHash, /* out */ int &ANumber);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.NetEncoding.Sqids.pas System.NetEncoding.Sqids.hpp |
System.NetEncoding.Sqids | TSqidsEncoding |
説明
Sqids でエンコードされた文字列値のデコードを試み、デコードされた整数を返します。
AHash
が有効な場合、TryDecodeSingle は True
and sets AHash
を返して整数値のデコードを行います。そうでなければ、TryDecodeSingle は False
を返します。