public final class SecureByteArrayOutputStream
extends java.io.ByteArrayOutputStream
ByteArrayOutputStream
that clears its internal buffer after resizing and when it is closed
.Constructor and Description |
---|
SecureByteArrayOutputStream() |
SecureByteArrayOutputStream(int initialSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public SecureByteArrayOutputStream()
public SecureByteArrayOutputStream(int initialSize)
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.ByteArrayOutputStream
public void write(int b)
write
in class java.io.ByteArrayOutputStream
public void write(byte[] b, int off, int len)
write
in class java.io.ByteArrayOutputStream