ByteArrayOutputStream « File Input Output « Java






1.Use ByteArrayOutputStream
2.An unsynchronized version of java.io.ByteArrayOutputStream
3.A speedy implementation of ByteArrayOutputStream.
4.Provides true Closable semantics ordinarily missing in a java.io.ByteArrayOutputStream
5.Read byte and string with ByteArrayOutputStream