axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
void axl_stream_trim_with_size ( char *  chunk,
int *  trimmed 

The function works like axl_stream_trim, but providing the count of bytes trimmed from the string.

chunkThe chunk to trim.
trimmedAn optional reference that returns the count of bytes trimmed by the operation.

References axl_return_if_fail, and axl_stream_is_white_space().

Referenced by axl_node_get_content_trim(), and axl_stream_trim().