# Gimp.PDB.set_data

    function set_data(identifier: String, data: void, bytes: Number(guint32)): Boolean {
        // Gjs wrapper for gimp_pdb_set_data()
    }

Associates the specified identifier with the supplied data.

This procedure associates the supplied data with the provided identifier. The data may be subsequently retrieved by a call to 'procedural-db-get-data'.

identifier

  The identifier associated with data.

data

  A byte array containing data.

bytes

  The number of bytes in the data

Returns

  TRUE on success.