Hello,
> Apologies - I should have read all my e-mail before I started replying.
>
np :)
>
> Would your input have had multi-byte characters in it? That would
> explain why you got the error.
yes :) you are right on 100%, i use windows-1251 codepage and multi-byte
chars .
regards,
dech
Apologies - I should have read all my e-mail before I started replying.
Ignore last message on this :>.
You are quite correct - I missed the logic for handling large buffers.
I will update the CVS version this weekend.
On the second problem (detailed below), bytesEaten is a reference that
should
Hello all,
there are one small bug in this
function.
and when package of data is more than 2048 bytes
exception occurs
problem come from loop where we pass trough
original source
line 347
int toEat = ( bytesToEat > 2048 ? 2048 :
bytesToEat );
must be replaced
int toEat = ((bytesToE