Package org.apache.thrift
Class TByteArrayOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- org.apache.thrift.TByteArrayOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
public class TByteArrayOutputStream extends java.io.ByteArrayOutputStream
Class that allows access to the underlying buf without doing deep copies on it.
-
-
Constructor Summary
Constructors Constructor Description TByteArrayOutputStream()
TByteArrayOutputStream(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
get()
int
len()
-