[xml] =?utf-8?q?Is_there_any_way_to_get_a_compressed_buffer_in_me?= =?utf-8?q?mory=3F?=
- From: ÐÑÐÑ ÐÑÐÑ <goblin193p mail ru>
- To: xml gnome org
- Subject: [xml] Is there any way to get a compressed buffer in memory?
- Date: Fri, 03 Feb 2012 15:38:04 +0400
I'm using libxml2 with zlib support. I'm trying to get a compressed XML buffer in memory.
I've already tried xmlSaveFormatFileTo(), xmlSaveToBuffer() and different xmlDocDump...() functions. They all make buffer not compressed.
When I use xmlSaveFormatFile() to save the exact same compressed xmlDoc to a file (not to a buffer) and it saves it compressed.
Is there any way at all to have a compressed buffer in memory using standard API functions?
] [Thread Prev