Package arc.util.io
Class ReusableByteOutStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
arc.util.io.ReusableByteOutStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
-
Field Summary
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.ByteArrayOutputStream
close, reset, size, toByteArray, toString, toString, toString, toString, write, write, writeBytes, writeTo
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Constructor Details
-
ReusableByteOutStream
public ReusableByteOutStream(int capacity) -
ReusableByteOutStream
public ReusableByteOutStream()
-
-
Method Details
-
getBytes
public byte[] getBytes()
-