[ Version ( since = "0.14.0" ) ]
public bool validate_bytes (Bytes metadata)
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.
this |
An instance of Validator. |
metadata |
XML metadata as Bytes. |
true if bytes validated successfully. |