code: function recordgen (key, binSpec) {
    var data = {}
    var i = 0
    do {
      var bin = binSpec[i]
      switch (bin.type) {
        case 'INTEGER':
          data[bin.name] = key
          break
        case 'STRING':
          data[bin.name] = STRING_DATA
          while (data[bin.name].length < bin.size) {
            data[bin.name] += STRING_DATA
          }
          data[bin.name] += key
          break
        case 'BYTES':
          var bufData = STRING_DATA
          while (bufData.length < bin.size) {
            bufData += STRING_DATA
          }
          data[bin.name] = Buffer.from(bufData)
          break
        default:
          data.num = key
          break
      }
      i++
    } while (i < binSpec.length)
    return data
  }
docs: Generate a record with string and blob in it if run for longevity.
  Size of strings and blob is argv.datasize ( default 1K).