sockets - Optimal block size in java streams -
i have theoretical question. let's imagine have inputstream , outputstream. nead copy content 1 other , don't know size of content need transfer. best choice in general of block size in write method?
the answer is: it depends. general solution, stop worrying , use library. common choices:
Comments
Post a Comment