Package org.graffiti.plugin.io.resources
Class MyByteArrayOutputStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
org.graffiti.plugin.io.resources.MyByteArrayOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class MyByteArrayOutputStream extends ByteArrayOutputStream
- Author:
- klukas
-
Constructor Summary
Constructors Constructor Description MyByteArrayOutputStream()
MyByteArrayOutputStream(int i)
-
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
-
MyByteArrayOutputStream
public MyByteArrayOutputStream() -
MyByteArrayOutputStream
public MyByteArrayOutputStream(int i)
-
-
Method Details
-
writeInt
public void writeInt(int rgb) -
getBuff
public byte[] getBuff() -
setBuf
public void setBuf(byte[] buf)
-