Something like ByteArrayOutputStream sink = new ByteArrayOutputStream(); //helpdesk.objects.com.au/java/how-do-i-co... copy(dcon.getInputStream(), sink); byte downloadedFile = sink.toByteArray().
Something like, ByteArrayOutputStream sink = new ByteArrayOutputStream(); //helpdesk.objects.com.au/java/how-do-i-co... copy(dcon.getInputStream(), sink); byte downloadedFile = sink.toByteArray().
I mean bufferSize. – purple Apr 21 at 1:34 1 use 1024 as buffer size – sbridges Apr 21 at 2:00 Not works or I made an error :( sinj.toByteArray() is zero length in the end. – purple Apr 21 at 2:12.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.