Re: [xml] xmlOutputBufferGetSize and xmlOutputBufferGetContent
- From: Breno Silva <breno silva gmail com>
- To: Callum Gibson <callum_r_gibson yahoo com au>
- Cc: xml gnome org
- Subject: Re: [xml] xmlOutputBufferGetSize and xmlOutputBufferGetContent
- Date: Thu, 6 Jun 2013 20:00:07 -0300
I think this will fix the issue.
Let me know what is the correct way to access the output content with older libxml2:
memcpy(buffer, (char *)xmlBufferContent(output_buf->conv), output_buf->conv->use);
or
memcpy(buffer, (char *)output_buf->conv->content, output_buf->conv->use);
Thanks you
Breno
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]