hello, I am sorry for the very n00b question. But I read whole documentation, did search for the archives but still do not understand how to get full data from ZK using C binding zoo_get.
I expect that *buffer_len* is the size of the buffer <http://zookeeper.sourcearchive.com/documentation/3.2.2plus-pdfsg3-2/structbuffer.html> pointed to by the buffer <http://zookeeper.sourcearchive.com/documentation/3.2.2plus-pdfsg3-2/structbuffer.html> parameter. It'll be set to the actual data length upon return. If the data is NULL, length is -1. will return me actual data size but it did not. So if I send buffer with size 1 for the data size 3 it returns me 1 in buffer_len :( (i expect 3 to allocate new buffer of size 3) It seem I miss something simple but cannot figure out what. Thank you, Denis
