public final class Bytes extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static long |
BASE |
static long |
EB |
static long |
GB |
static long |
KB |
static long |
MB |
static long |
PB |
static long |
TB |
| 构造器和说明 |
|---|
Bytes() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.