parse_data


Description:

public bool parse_data (uint8[] data) throws Error

Parse the data.

The [signal@Parser:GcrParser:parsed] and [signal@Parser:GcrParser:authenticate] signals may fire during the parsing.

A copy of the data will be made. Use [method@Parser.parse_bytes] to avoid this.

Parameters:

this

The parser

data

the data to parse

n_data

The length of the data

Returns:

Whether the data was parsed successfully or not.