org.apache.accumulo.core.util
public static class UnsynchronizedBuffer.Writer extends Object
Constructor and Description |
---|
UnsynchronizedBuffer.Writer() |
UnsynchronizedBuffer.Writer(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
void |
add(boolean b) |
void |
add(byte[] bytes,
int off,
int length) |
byte[] |
toArray() |
ByteBuffer |
toByteBuffer() |
void |
writeVInt(int i) |
void |
writeVLong(long i) |
public UnsynchronizedBuffer.Writer()
public UnsynchronizedBuffer.Writer(int initialCapacity)
public void add(byte[] bytes, int off, int length)
public void add(boolean b)
public byte[] toArray()
public ByteBuffer toByteBuffer()
public void writeVInt(int i)
public void writeVLong(long i)
Copyright © 2014 Apache Accumulo Project. All rights reserved.