B2G/gecko/dom/mobilemessage/src/ril/MmsPduHelper.jsm
/**
   * @param data
   *        A wrapped object to store encoded raw data.
   * @param headers
   *        A dictionary object containing multiple name/value mapping.
   */
@param data
A wrapped object to store encoded raw data.
@param headers
A dictionary object containing multiple name/value mapping.
@param data A wrapped object to store encoded raw data . @param headers A dictionary object containing multiple name / value mapping .
function encodeHeaderIfExists(data, headers, name) {
    if (headers[name] !== undefined) {
      this.encodeHeader(data, headers, name);
    }
  }
function encodeHeaderIfExists ( data , headers , name ) { if ( headers [ name ] !== undefined ) { this . encodeHeader ( data , headers , name ) ; } }
@param data
        A wrapped object to store encoded raw data.
@param data A wrapped object to store encoded raw data .
// Header value could be zero or null.