Class ExposedBufferByteArrayOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- org.apache.sshd.contrib.common.util.io.ExposedBufferByteArrayOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
public class ExposedBufferByteArrayOutputStream extends java.io.ByteArrayOutputStream
Exposes direct access to the underlying buffer
-
-
Constructor Summary
Constructors Constructor Description ExposedBufferByteArrayOutputStream()
ExposedBufferByteArrayOutputStream(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBuffer()
-