B2G/gecko/dom/mobilemessage/src/ril/WspPduHelper.jsm
/**
   * @param data
   *        A wrapped object to store encoded raw data.
   * @param value
   *        An object with a string property `charset`.
   */
@param data
A wrapped object to store encoded raw data.
@param value
An object with a string property `charset`.
@param data A wrapped object to store encoded raw data . @param value An object with a string property ` charset ` .
function encodeAnyCharset(data, value) {
    if (!value || !value.charset || (value.charset === "*")) {
      Octet.encode(data, 128);
      return;
    }
    throw new CodeError("Any-charset: invalid value " + value);
  }
function encodeAnyCharset ( data , value ) { if ( ! value || ! value . charset || ( value . charset === "*" ) ) { Octet . encode ( data , 128 ) ; return ; } throw new CodeError ( "Any-charset: invalid value " + value ) ; }
@param data
        A wrapped object to store encoded raw data.
@param data A wrapped object to store encoded raw data .