Auf Thema antworten

So sollte es etwas schneller sein:

[code=Java]

        byte[] buffer = new byte[1024];

        int count;

        while ((count = dis.read(buffer)) != -1)

        {

            aos.write(buffer,0,count);

            aos.flush();

        }

[/code]



Oben