validate_bytes


Description:

[ 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.

Parameters:

this

An instance of Validator.

metadata

XML metadata as Bytes.

Returns:

true if bytes validated successfully.