Which smells to be like a bug in the code. If we are dropping bytes without either

a) throwing an exception; or
b) storing them in a buffer to be retrieved on the next call to ::encode()

then I think something is wrong.

I will have a look at this.

Thanks!

Cheers,
        Berin


Milan Tomic wrote:
I've found solution. This:

int outLen = 10 * 1024 * 4/3 + 4;

should be:

int outLen = 10 * 1024 * 2;

there was no enough space in output baffer.

Thank you,
Milan







Reply via email to