public class ReuseByteArrayOutputStream extends ByteArrayOutputStream
ByteArrayOutputStream
which can reuse byte array.buf, count
Constructor and Description |
---|
ReuseByteArrayOutputStream(int size) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBuffer() |
void |
setBuffer(byte[] buffer) |
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
flush, write
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.