mysql_net_field_length - mariadb-corporation/mariadb-connector-c GitHub Wiki
mysql_net_field_length - Returns the length of a length encoded field
#include <mysql.h>
ulong mysql_net_field_length(unsigned char **packet)
Returns the length of a length encoded field and increments the pointer to the beginning of the field.
-
packet
- a pointer to a length encoded field buffer.
This function is part of the low level protocol API and can be used to retrieve data if a callback function was provided for fetching results from prepared statements.
Returns the length of the field.