B2G/gecko/dom/mobilemessage/src/ril/WspPduHelper.jsm
/**
   * @param data
   *        A wrapped object to store encoded raw data.
   * @param value
   *        A null or undefined value.
   */
@param data
A wrapped object to store encoded raw data.
@param value
A null or undefined value.
@param data A wrapped object to store encoded raw data . @param value A null or undefined value .
function encode(data, value) {
    if (value != null) {
      throw new CodeError("No-value: invalid value " + value);
    }
    Octet.encode(data, 0);
  }
function encode ( data , value ) { if ( value != null ) { throw new CodeError ( "No-value: invalid value " + value ) ; } Octet . encode ( data , 0 ) ; }
@param data
        A wrapped object to store encoded raw data.
@param data A wrapped object to store encoded raw data .