Method
AppStreamValidatorvalidate_bytes
Declaration [src]
gboolean
as_validator_validate_bytes (
AsValidator* validator,
GBytes* metadata
)
Description [src]
Validate AppStream XML data from a byte array. Remember to run %as_validator_clear_issues if you do not want previous validation runs to affect the outcome of this validation.
Available since: | 0.14.0 |
Parameters
metadata |
GBytes |
XML metadata as |
|
The data is owned by the caller of the function. |