HttpServerUtility.UrlTokenDecode(String) 方法

定義

將 URL 字串標記解碼為其等效位元組陣列,使用以 64 進位為底。

public:
 static cli::array <System::Byte> ^ UrlTokenDecode(System::String ^ input);
public static byte[] UrlTokenDecode(string input);
static member UrlTokenDecode : string -> byte[]
Public Shared Function UrlTokenDecode (input As String) As Byte()

參數

input
String

要解碼的 URL 字串標記。

傳回

Byte[]

包含解碼後 URL 字串標記的位元組陣列。

例外狀況

參數的 input 值為 null

備註

UrlTokenDecode 方法將 URL 字串標記(將二進位資料編碼為 64 位進位)轉換為其等效的位元組陣列表示。 使用該 UrlTokenDecode 方法解碼 URL 上傳送並以 UrlTokenEncode.

input參數長度小於一,方法UrlTokenDecode會回傳空位元組陣列。

適用於

另請參閱