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.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.ByteArrayOutputStreampublic void write(int b)
write in class java.io.ByteArrayOutputStreampublic void write(byte[] b,
int off,
int len)
write in class java.io.ByteArrayOutputStream