This content has been marked as final. Show 4 replies
Dikesh wrote:Just get the OutputStream and write the bytes straight to that. 25 MBytes for the buffer is ridiculous! You don't need to make the buffer bigger than about 8KBytes.
You are right
i am using PrintWriter's print method to write the bytes.
PrintWriter's print method doesnt take byteArray as input.
Which other Object shall i use in place of PrintWriter to use it instead of out.print(String);