/* Returns the end of the internal content or NULL in case of error  */
xmlChar* xmlBufEnd(xmlBufPtr buf)
/* Returns the end of the internal content or NULL in case of error  */
xmlChar* xmlBufEnd(xmlBufPtr buf)
{
    if ((!buf) || (buf->error))
        return NULL;
    CHECK_COMPAT(buf)
    return(&buf->content[buf->use]);
}