B2G/gecko/dom/mobilemessage/src/ril/WspPduHelper.jsm
/**
   * @param data
   *        A wrapped object containing raw PDU data.
   * @param end
   *        Ending offset of the Media-type value.
   *
   * @return A decoded object containing `media` and `params` properties or
   *         null in case of a failed parsing. The `media` property must be a
   *         string, and the `params` property is a hash map from a string to
   *         an value of unspecified type.
   */
@param data
A wrapped object containing raw PDU data.
@param end
Ending offset of the Media-type value.

@return A decoded object containing `media` and `params` properties or
null in case of a failed parsing. The `media` property must be a
string, and the `params` property is a hash map from a string to
an value of unspecified type.
@param data A wrapped object containing raw PDU data . @param end Ending offset of the Media - type value . @return A decoded object containing ` media ` and ` params ` properties or null in case of a failed parsing . The ` media ` property must be a string and the ` params ` property is a hash map from a string to an value of unspecified type .
function decodeMediaType(data, end) {
    let media = this.decodeMedia(data);
    let params = Parameter.decodeMultiple(data, end);
    return {
      media: media,
      params: params,
    };
  }
function decodeMediaType ( data , end ) { let media = this . decodeMedia ( data ) ; let params = Parameter . decodeMultiple ( data , end ) ; return { media : media , params : params , } ; }
@param data
        A wrapped object containing raw PDU data.
@param data A wrapped object containing raw PDU data .