Gcr.Parser.prototype.parse_data

function parse_data(data: ByteArray): Boolean {
    // Gjs wrapper for gcr_parser_parse_data()
}
  

Parse the data. The Gcr.Parser::parsed and Gcr.Parser::authenticate signals may fire during the parsing.

A copy of the data will be made. Use Gcr.Parser.prototype.parse_bytes to avoid this.

data

the data to parse

Returns

Whether the data was parsed successfully or not.