org.apache.accumulo.core.util
public class ByteBufferUtil extends Object
Constructor and Description |
---|
ByteBufferUtil() |
Modifier and Type | Method and Description |
---|---|
static List<ByteBuffer> |
toByteBuffers(Collection<byte[]> bytesList) |
static byte[] |
toBytes(ByteBuffer buffer) |
static List<byte[]> |
toBytesList(Collection<ByteBuffer> bytesList) |
static String |
toString(ByteBuffer bytes) |
static org.apache.hadoop.io.Text |
toText(ByteBuffer bytes) |
public static byte[] toBytes(ByteBuffer buffer)
public static List<ByteBuffer> toByteBuffers(Collection<byte[]> bytesList)
public static List<byte[]> toBytesList(Collection<ByteBuffer> bytesList)
public static org.apache.hadoop.io.Text toText(ByteBuffer bytes)
public static String toString(ByteBuffer bytes)
Copyright © 2014 Apache Accumulo Project. All Rights Reserved.