Method
ClapperHarvestfill_with_bytes
since: 0.8
Declaration [src]
gboolean
clapper_harvest_fill_with_bytes (
ClapperHarvest* harvest,
const gchar* media_type,
GBytes* bytes
)
Description [src]
A convenience method to fill harvest with data from GBytes.
For more info, see clapper_harvest_fill() documentation.
Available since: 0.8
Parameters
media_type-
Type:
const gchar*Media mime type.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. bytes-
Type:
GBytesA
GBytesto fillharvest.The instance takes ownership of the data, and is responsible for freeing it.