lib/message-utils.js
function (message, value, encoding) {
    message.payload = module.exports.encode(value, encoding)
  }
function (message, value, encoding) {
    message.payload = module.exports.encode(value, encoding)
  }
function ( message , value , encoding ) { message . payload = module . exports . encode ( value , encoding ) }
Encodes the specified value and places it in the DXL message's payload.
@param {external:Message} message - The DXL message.
@param value - The value.
@param {String} [encoding=utf8] - The encoding of the payload.
Encodes the specified value and places it in the DXL message s payload .