QueueMessageFormat 類別
編碼和解碼方法,可用來修改佇列服務編碼和解碼佇列訊息的方式。 將這些設定為queueservice.encode_function,並queueservice.decode_function來修改行為。 預設值分別為 text_xmlencode 和 text_xmldecode。
- 繼承
-
builtins.objectQueueMessageFormat
建構函式
QueueMessageFormat()
方法
binary_base64decode |
Base64 解碼為位元組字串。 |
binary_base64encode |
Base64 編碼位元組字串。 |
nodecode |
請勿解碼。 |
noencode |
請勿編碼。 |
text_base64decode |
Base64 解碼為 Unicode 文字。 |
text_base64encode |
Base64 編碼 Unicode 文字。 |
text_xmldecode |
XML 解碼為 unicode 文字。 |
text_xmlencode |
XML 編碼 Unicode 文字。 |
binary_base64decode
Base64 解碼為位元組字串。
static binary_base64decode(data)
參數
傳回
Base64 解碼的資料。
傳回類型
binary_base64encode
Base64 編碼位元組字串。
static binary_base64encode(data)
參數
傳回
Base64 編碼的資料。
傳回類型
nodecode
noencode
text_base64decode
Base64 解碼為 Unicode 文字。
static text_base64decode(data)
參數
傳回
Base64 解碼字串。
傳回類型
text_base64encode
Base64 編碼 Unicode 文字。
static text_base64encode(data)
參數
傳回
Base64 編碼字串。
傳回類型
text_xmldecode
XML 解碼為 unicode 文字。
static text_xmldecode(data)
參數
傳回
XML 解碼的資料。
傳回類型
text_xmlencode
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應