B2G/gecko/dom/mobilemessage/src/ril/MmsPduHelper.jsm
/**
   * @param data
   *        A wrapped object to store encoded raw data.
   * @param value
   *        A numeric content class value to be encoded.
   */
@param data
A wrapped object to store encoded raw data.
@param value
A numeric content class value to be encoded.
@param data A wrapped object to store encoded raw data . @param value A numeric content class value to be encoded .
function encode(data, value) {
    if ((value < 128) || (value > 135)) {
      throw new WSP.CodeError("Content-class-value: invalid class " + value);
    }
    WSP.Octet.encode(data, value);
  }
function encode ( data , value ) { if ( ( value < 128 ) || ( value > 135 ) ) { throw new WSP . CodeError ( "Content-class-value: invalid class " + value ) ; } WSP . Octet . encode ( data , value ) ; }
@param data
        A wrapped object to store encoded raw data.
@param data A wrapped object to store encoded raw data .