BufferedOutputStream vs ByteArrayOutputStream

Viewed 12130

Is there any advantage in wrapping a BufferedOutputStream around a ByteArrayOutputStream instead of just using the ByteArrrayOutputStream by itself?

3 Answers
Related