Declaration [src]

gcr_parser_parse_data (
  GcrParser* self,
  const guchar* data,
  gsize n_data,
  GError** error

Description [src]

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

A copy of the data will be made. Use gcr_parser_parse_bytes() to avoid this.


data An array of guchar

The data to parse.

 The length of the array is specified in the n_data argument.
 The data is owned by the caller of the function.
n_data gsize

The length of the data.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean

Whether the data was parsed successfully or not.