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 always null.
   *
   * @throws NotWellKnownEncodingError if decoded well-known content type number
   *         is not registered or supported.
   */
@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 always null.

@throws NotWellKnownEncodingError if decoded well-known content type number
is not registered or supported.
@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 always null . @throws NotWellKnownEncodingError if decoded well - known content type number is not registered or supported .
function decodeConstrainedMedia(data) {
    return {
      media: TypeValue.decode(data),
      params: null,
    };
  }
function decodeConstrainedMedia ( data ) { return { media : TypeValue . decode ( data ) , params : null , } ; }
@param data
        A wrapped object containing raw PDU data.
@param data A wrapped object containing raw PDU data .