public final class Bytes extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
BASE |
static long |
EB |
static long |
GB |
static long |
KB |
static long |
MB |
static long |
PB |
static long |
TB |
| Constructor and Description |
|---|
Bytes() |
| Modifier and Type | Method and Description |
|---|---|
static int |
compare(byte[] bytes1,
byte[] bytes2) |
static byte[] |
concat(byte[] bytes1,
byte[] bytes2) |
static boolean |
contains(byte[] bytes,
byte value) |
static boolean |
equals(byte[] bytes1,
byte[] bytes2) |
static byte[] |
fromHex(String hex) |
static int |
indexOf(byte[] bytes,
byte value) |
static boolean |
prefixWith(byte[] bytes,
byte[] prefix) |
static String |
toHex(byte b) |
static String |
toHex(byte[] bytes) |
public static final long BASE
public static final long KB
public static final long MB
public static final long GB
public static final long TB
public static final long PB
public static final long EB
public static int compare(byte[] bytes1,
byte[] bytes2)
public static byte[] concat(byte[] bytes1,
byte[] bytes2)
public static boolean prefixWith(byte[] bytes,
byte[] prefix)
public static boolean contains(byte[] bytes,
byte value)
public static int indexOf(byte[] bytes,
byte value)
public static boolean equals(byte[] bytes1,
byte[] bytes2)
public static String toHex(byte b)
public static String toHex(byte[] bytes)
public static byte[] fromHex(String hex)
Copyright © 2021. All rights reserved.