org.apache.blur.thrift.util
Class ResetableTByteArrayOutputStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
org.apache.blur.thirdparty.thrift_0_9_0.TByteArrayOutputStream
org.apache.blur.thrift.util.ResetableTByteArrayOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class ResetableTByteArrayOutputStream
- extends TByteArrayOutputStream
Class that allows access to the underlying buf without doing deep copies on
it.
ResetableTByteArrayOutputStream
public ResetableTByteArrayOutputStream(int size)
ResetableTByteArrayOutputStream
public ResetableTByteArrayOutputStream()
get
public byte[] get()
- Overrides:
get
in class TByteArrayOutputStream
len
public int len()
- Overrides:
len
in class TByteArrayOutputStream
resetBuffer
public void resetBuffer()
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.