sratom_write

int sratom_write(Sratom *sratom, LV2_URID_Unmap *unmap, uint32_t flags, const SerdNode *subject, const SerdNode *predicate, uint32_t type_urid, uint32_t size, const void *body)

Write an Atom to RDF.

The serialized atom is written to the sink set by sratom_set_sink().

Returns:

0 on success, or a non-zero error code otherwise.