function hsDatabaseInfo(db) {
  const info = ref.alloc(r(ref.types.CString));
  const res = hyperscan.hs_database_info(db, info);
  // console.log("Info result: "+res);
  return info.deref().readCString(0);
}
/**
 * Returns information about a database
 * @param {hsDatabase} db
 */
Returns information about a database
@param {hsDatabase} db
Returns information about a database @param { hsDatabase } db
function hsDatabaseInfo(db) {
  const info = ref.alloc(r(ref.types.CString));
  const res = hyperscan.hs_database_info(db, info);
  return info.deref().readCString(0);
}
function hsDatabaseInfo ( db ) { const info = ref . alloc ( r ( ref . types . CString ) ) ; const res = hyperscan . hs_database_info ( db , info ) ; return info . deref ( ) . readCString ( 0 ) ; }
Returns information about a database
 @param {hsDatabase} db
Returns information about a database @param { hsDatabase } db
// console.log("Info result: "+res);