Package com.linkedin.venice.io
Class ZeroCopyByteArrayOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- com.linkedin.venice.io.ZeroCopyByteArrayOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
public class ZeroCopyByteArrayOutputStream extends java.io.ByteArrayOutputStream
-
-
Constructor Summary
Constructors Constructor Description ZeroCopyByteArrayOutputStream(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
toByteArray()
java.nio.ByteBuffer
toByteBuffer()
-