public class Bytes extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
BASE |
static long |
GB |
static long |
KB |
static long |
MB |
| Constructor and Description |
|---|
Bytes() |
| Modifier and Type | Method and Description |
|---|---|
static int |
compare(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 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 © 2016–2021 MWARE SOLUTIONS. All rights reserved.