public class ByteArray extends Object implements Serializable, Comparable<ByteArray>
Modifier and Type | Field and Description |
---|---|
protected byte[] |
bytes |
static byte[] |
EMPTY_BYTE_ARRAY |
protected String |
string |
Constructor and Description |
---|
ByteArray() |
ByteArray(byte[] bytes) |
ByteArray(String string) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ByteArray o) |
boolean |
equals(Object obj) |
static ByteArray[] |
fromBytes(byte[] idData) |
byte[] |
getBytes() |
String |
getHexString() |
byte[] |
getNextPrefix() |
String |
getString() |
int |
hashCode() |
static byte[] |
toBytes(ByteArray[] ids) |
String |
toString() |
public static final byte[] EMPTY_BYTE_ARRAY
protected byte[] bytes
protected transient String string
public ByteArray()
public ByteArray(byte[] bytes)
public ByteArray(String string)
public byte[] getBytes()
public byte[] getNextPrefix()
public String getString()
public String getHexString()
public static byte[] toBytes(ByteArray[] ids)
public static ByteArray[] fromBytes(byte[] idData)
public int compareTo(ByteArray o)
compareTo
in interface Comparable<ByteArray>
Copyright © 2013–2022. All rights reserved.