|
tuple
|
decodeHeader(byteIter)
Decodes a header entry from an MMS message, starting at the byte
pointed to by byteIter.next() |
source code
|
|
|
tuple
|
decodeMMSHeader(byteIter)
From [4], section 7.1: MMS-header = MMS-field-name MMS-value
MMS-field-name = Short-integer MMS-value = Bcc-value | Cc-value |
Content-location-value | Content-type-value | etc |
source code
|
|
|
str
|
decodeEncodedStringValue(byteIter)
From [4], section 7.2.9: Encoded-string-value = Text-string
| Value-length Char-set Text-string The Char-set values are
registered by IANA as MIBEnum value. |
source code
|
|
|
str
|
|
|
str
|
decodeFromValue(byteIter)
From [4], section 7.2.11: From-value = Value-length
(Address-present-token Encoded-string-value | Insert-address-token )
Address-present-token = <Octet 128> Insert-address-token =
<Octet 129> |
source code
|
|
|
str
|
decodeMessageClassValue(byteIter)
From [4], section 7.2.12: Message-class-value = Class-identifier |
Token-text Class-identifier = Personal | Advertisement |
Informational | Auto Personal = <Octet 128> Advertisement =
<Octet 129> Informational = <Octet 130> Auto = <Octet
131> The token-text is an extension method to the message
class. |
source code
|
|
|
str
|
|
|
str
|
|
|
str
|
|
|
str
|
|
|
str
|
|
|
str or int
|
|
|
Inherited from wsp_pdu.Decoder:
decodeAcceptValue,
decodeApplicationHeader,
decodeCompactValue,
decodeConstrainedEncoding,
decodeConstrainedMedia,
decodeContentGeneralForm,
decodeContentTypeValue,
decodeDateValue,
decodeDeltaSecondsValue,
decodeExtensionMedia,
decodeIntegerValue,
decodeLongInteger,
decodeMediaType,
decodeNoValue,
decodeParameter,
decodePragmaValue,
decodeQValue,
decodeQuotedString,
decodeShortInteger,
decodeShortIntegerFromByte,
decodeShortLength,
decodeTextString,
decodeTextValue,
decodeTokenText,
decodeTypedParameter,
decodeTypedValue,
decodeUint8,
decodeUintvar,
decodeUntypedParameter,
decodeUntypedValue,
decodeUriValue,
decodeValueLength,
decodeVersionValue,
decodeWellKnownCharset,
decodeWellKnownHeader,
decodeWellKnownMedia,
decodeWellKnownParameter
|