public final class Bytes extends Object
| 构造器和说明 |
|---|
Bytes() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
compare(byte[] bytes1,
byte[] bytes2) |
static byte[] |
concat(byte[] bytes1,
byte[] bytes2) |
static boolean |
equals(byte[] bytes1,
byte[] bytes2) |
static byte[] |
fromHex(String hex) |
static boolean |
prefixWith(byte[] bytes,
byte[] prefix) |
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 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 equals(byte[] bytes1,
byte[] bytes2)
public static String toHex(byte[] bytes)
public static byte[] fromHex(String hex)
Copyright © 2019. All rights reserved.