QueueMessageFormat Class
Encoding and decoding methods which can be used to modify how the queue service encodes and decodes queue messages. Set these to queueservice.encode_function and queueservice.decode_function to modify the behavior. The defaults are text_xmlencode and text_xmldecode, respectively.
- Inheritance
-
builtins.objectQueueMessageFormat
Constructor
QueueMessageFormat()
Methods
| binary_base64decode |
Base64 decode to byte string. |
| binary_base64encode |
Base64 encode byte strings. |
| nodecode |
Do no decoding. |
| noencode |
Do no encoding. |
| text_base64decode |
Base64 decode to unicode text. |
| text_base64encode |
Base64 encode unicode text. |
| text_xmldecode |
XML decode to unicode text. |
| text_xmlencode |
XML encode unicode text. |
binary_base64decode
Base64 decode to byte string.
static binary_base64decode(data)
Parameters
Returns
Base64 decoded data.
Return type
binary_base64encode
Base64 encode byte strings.
static binary_base64encode(data)
Parameters
Returns
Base64 encoded data.
Return type
nodecode
Do no decoding.
static nodecode(data)
Parameters
Returns
The data passed in is returned unmodified.
Return type
noencode
Do no encoding.
static noencode(data)
Parameters
Returns
The data passed in is returned unmodified.
Return type
text_base64decode
Base64 decode to unicode text.
static text_base64decode(data)
Parameters
Returns
Base64 decoded string.
Return type
text_base64encode
Base64 encode unicode text.
static text_base64encode(data)
Parameters
Returns
Base64 encoded string.
Return type
text_xmldecode
XML decode to unicode text.
static text_xmldecode(data)
Parameters
Returns
XML decoded data.
Return type
text_xmlencode
Feedback
Submit and view feedback for