docs: function (value, encoding) {
      encoding = (typeof encoding === 'undefined') ? 'utf8' : encoding
      var returnValue = value
      if (!Buffer.isBuffer(returnValue)) {
        if (value === null) {
          returnValue = ''
        } else if (typeof value === 'object') {
          returnValue = module.exports.objectToJson(value)
        } else if (typeof value !== 'string') {
          returnValue = '' + value
        }
        returnValue = Buffer.from(returnValue, encoding)
      }
      return returnValue
    }