public final class SecureByteArrayOutputStream extends ByteArrayOutputStream
ByteArrayOutputStream
that clears its internal buffer after resizing and when it is closed
.buf, count
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) |
reset, size, toByteArray, toString, toString, toString, writeTo
flush, write
public SecureByteArrayOutputStream()
public SecureByteArrayOutputStream(int initialSize)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class ByteArrayOutputStream
public void write(int b)
write
in class ByteArrayOutputStream
public void write(byte[] b, int off, int len)
write
in class ByteArrayOutputStream
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.