org.apache.blur.thirdparty.thrift_0_9_0
Class TByteArrayOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.ByteArrayOutputStream
          extended by org.apache.blur.thirdparty.thrift_0_9_0.TByteArrayOutputStream
All Implemented Interfaces:
Closeable, Flushable
Direct Known Subclasses:
ResetableTByteArrayOutputStream

public class TByteArrayOutputStream
extends ByteArrayOutputStream

Class that allows access to the underlying buf without doing deep copies on it.


Constructor Summary
TByteArrayOutputStream()
           
TByteArrayOutputStream(int size)
           
 
Method Summary
 byte[] get()
           
 int len()
           
 
Methods inherited from class java.io.ByteArrayOutputStream
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TByteArrayOutputStream

public TByteArrayOutputStream(int size)

TByteArrayOutputStream

public TByteArrayOutputStream()
Method Detail

get

public byte[] get()

len

public int len()


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.