|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.client.lexicoder.impl.ByteUtils
public class ByteUtils
Constructor Summary | |
---|---|
ByteUtils()
|
Method Summary | |
---|---|
static byte[] |
concat(byte[]... fields)
Concatenates byte arrays with 0x00 as a delimiter |
static byte[] |
escape(byte[] in)
Escapes 0x00 with 0x01 0x01 and 0x01 with 0x01 0x02 |
static byte[][] |
split(byte[] data)
Splits a byte array by 0x00 |
static byte[] |
unescape(byte[] in)
Unescapes 0x00 0x01 0x01 with 0x00 and 0x01 0x01 0x2 with 0x01 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteUtils()
Method Detail |
---|
public static byte[] escape(byte[] in)
public static byte[] unescape(byte[] in)
public static byte[][] split(byte[] data)
public static byte[] concat(byte[]... fields)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |