oh
nothing.... do not be nervous
i think
if you want to read data from a file
first you
must construct a
BIO * mbio = BIO_new_file(filename , "rb") object
then build another BIO* b64 = BIO_new(BIO_f_base64());
then mbio = BIO_push(b64,
mbio);
all ok ...
read data from
while((inlen = BIO_read(mbio,
inbuf, strlen(message))) > 0)
{
....do as you
wish
}
// remember free all bio resource
// remember free all bio resource
BIO_free_all(bio); can this solve your problem?