B2G/gecko/dom/mobilemessage/src/ril/WspPduHelper.jsm
/**
   * @param data
   *        A wrapped object containing raw PDU data.
   *
   * @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 null or a hash map from a
   *         string to an value of unspecified type.
   */
@param data
A wrapped object containing raw PDU data.

@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 null or a hash map from a
string to an value of unspecified type.
@param data A wrapped object containing raw PDU data . @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 null or a hash map from a string to an value of unspecified type .
function decodeContentGeneralForm(data) {
    let length = ValueLength.decode(data);
    let end = data.offset + length;
    let value = this.decodeMediaType(data, end);
    if (data.offset != end) {
      data.offset = end;
    }
    return value;
  }
function decodeContentGeneralForm ( data ) { let length = ValueLength . decode ( data ) ; let end = data . offset + length ; let value = this . decodeMediaType ( data , end ) ; if ( data . offset != end ) { data . offset = end ; } return value ; }
@param data
        A wrapped object containing raw PDU data.
@param data A wrapped object containing raw PDU data .