result 1 result 2
Go back to reference home
functions
parseDecimalNumberU8Parse a hexadecimal number from string.
parseDecimalNumberU16Parse a hexadecimal number from string.
parseDecimalNumberU32Parse a hexadecimal number from string.
parseHexadecimalNumberU8Parse a decimal number from string.
parseHexadecimalNumberU16Parse a decimal number from string.
parseHexadecimalNumberU32Parse a decimal number from string.
parseBooleanParse a boolean from string.
parseHexStringParse a string containing hexadecimal characters.
parseMACAddressParse a MAC-Address.
parseIPv4AddressParse an IPv4-Address.
parseKeyValueParse a key,value pair.

parser

String parsing

This module contains all functions that parse strings.

All functions in this module follow the same rules*:

if (napc_parser_parseIPv4Address(ip_str, NULL)) {
	// ip_str is a valid IPv4Address
}

* The only exception being napc_parser_parseKeyValue().

Version: 1.4.1
Documentation generated at 24.03.2022 03:43:18 (UTC)
Go back to reference home
functions
parseDecimalNumberU8Parse a hexadecimal number from string.
parseDecimalNumberU16Parse a hexadecimal number from string.
parseDecimalNumberU32Parse a hexadecimal number from string.
parseHexadecimalNumberU8Parse a decimal number from string.
parseHexadecimalNumberU16Parse a decimal number from string.
parseHexadecimalNumberU32Parse a decimal number from string.
parseBooleanParse a boolean from string.
parseHexStringParse a string containing hexadecimal characters.
parseMACAddressParse a MAC-Address.
parseIPv4AddressParse an IPv4-Address.