org.apache.xml.security.utils
Class UnsyncByteArrayOutputStream
java.lang.Object
java.io.OutputStream
org.apache.xml.security.utils.UnsyncByteArrayOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class UnsyncByteArrayOutputStream
- extends java.io.OutputStream
A simple Unsynced ByteArrayOutputStream
- Author:
- raul
Methods inherited from class java.io.OutputStream |
flush |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnsyncByteArrayOutputStream
public UnsyncByteArrayOutputStream()
write
public void write(byte[] arg0)
- Overrides:
write
in class java.io.OutputStream
write
public void write(byte[] arg0,
int arg1,
int arg2)
- Overrides:
write
in class java.io.OutputStream
write
public void write(int arg0)
- Specified by:
write
in class java.io.OutputStream
toByteArray
public byte[] toByteArray()
reset
public void reset()
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.OutputStream
- Throws:
java.io.IOException