org.apache.accumulo.core.util
Class UnsynchronizedBuffer.Writer

java.lang.Object
  extended by org.apache.accumulo.core.util.UnsynchronizedBuffer.Writer
Enclosing class:
UnsynchronizedBuffer

public static class UnsynchronizedBuffer.Writer
extends Object


Constructor Summary
UnsynchronizedBuffer.Writer()
           
UnsynchronizedBuffer.Writer(int initialCapacity)
           
 
Method Summary
 void add(boolean b)
           
 void add(byte[] bytes, int off, int length)
           
 byte[] toArray()
           
 ByteBuffer toByteBuffer()
           
 void writeVInt(int i)
           
 void writeVLong(long i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsynchronizedBuffer.Writer

public UnsynchronizedBuffer.Writer()

UnsynchronizedBuffer.Writer

public UnsynchronizedBuffer.Writer(int initialCapacity)
Method Detail

add

public void add(byte[] bytes,
                int off,
                int length)

add

public void add(boolean b)

toArray

public byte[] toArray()

toByteBuffer

public ByteBuffer toByteBuffer()

writeVInt

public void writeVInt(int i)

writeVLong

public void writeVLong(long i)


Copyright © 2015 Apache Accumulo Project. All rights reserved.