Re: Setting memory buffer for BIO_s_mem operations

2005-06-28 Thread Nadav Golombick
That is memory for reading. What about memory for writing? On 6/28/05, Prashant Kumar <[EMAIL PROTECTED]> wrote:  Look under the documentation for BIO_s_mem, an example is given there.   char data[] = "Hello World"; BIO *mem; mem = BIO_new_mem_buf(data, -1);   Regards, Prashant. Nadav Golombick <

Re: Setting memory buffer for BIO_s_mem operations

2005-06-28 Thread Prashant Kumar
 Look under the documentation for BIO_s_mem, an example is given there.   char data[] = "Hello World"; BIO *mem; mem = BIO_new_mem_buf(data, -1);   Regards, Prashant.Nadav Golombick <[EMAIL PROTECTED]> wrote: Hi,   I was wondering if there is a way to set my own memory buffer for the use of BIO_re

Setting memory buffer for BIO_s_mem operations

2005-06-28 Thread Nadav Golombick
Hi,   I was wondering if there is a way to set my own memory buffer for the use of BIO_read and BIO_write operations when using BIO_s_mem functions? My problem is that I don't want the waste of copying from one memory to another.   Thanks,-- Nadav Golombick