![]() |
MHEG5
22.3.0
|
string parsing utility functions for MHEG5 More...
Go to the source code of this file.
Functions | |
MHEG5Bool | MHEG5parseDvbUrl (U8BIT *buffer, U32BIT length, S_DVB_LOCATOR *dvb_loc) |
Parse a DAVIC style multiplex reference or UK-DTT inherritance format URL. This can be one of the following forms: rec://svc/cur rec://svc/def rec://svc/lcn/# dvb://original_network_id.[transport_stream_id].service_id[.*]. More... | |
int | MHEG5parseLcn (U8BIT *buf, U8BIT *end) |
MHEG5Bool | MHEG5parseEncodeQPrintable (MHEG5Byte **buffer, MHEG5Int *used, MHEG5Int *allocated, MHEG5Generic *value) |
Add a value to the buffer. The value is QPrintable-encoded, which means that printable characters are copied without change, and non-printable characters (along with '=' and ''') are encoded using the equal sign and two hexadecimal digits characters which hold the numerical representation of the character in ASCII. For example, a carriage-return character is encoded as '=0D'. More... | |
string parsing utility functions for MHEG5
MHEG5Bool MHEG5parseDvbUrl | ( | U8BIT * | buffer, |
U32BIT | length, | ||
S_DVB_LOCATOR * | dvb_loc | ||
) |
Parse a DAVIC style multiplex reference or UK-DTT inherritance format URL. This can be one of the following forms: rec://svc/cur rec://svc/def rec://svc/lcn/# dvb://original_network_id.[transport_stream_id].service_id[.*].
buffer | Pointer to character buffer containing the URL string |
length | Length of character buffer |
multiplexRef | Multiplex reference extracted from the URL string |
MHEG5Bool MHEG5parseEncodeQPrintable | ( | MHEG5Byte ** | buffer, |
MHEG5Int * | used, | ||
MHEG5Int * | allocated, | ||
MHEG5Generic * | value | ||
) |
Add a value to the buffer. The value is QPrintable-encoded, which means that printable characters are copied without change, and non-printable characters (along with '=' and ''') are encoded using the equal sign and two hexadecimal digits characters which hold the numerical representation of the character in ASCII. For example, a carriage-return character is encoded as '=0D'.
buffer | Buffer to add the value to |
used | Number of characters used in the buffer |
allocated | Number of characters allocated for the buffer |
value | The value to append |