public class BytesUtil extends Object
| Constructor and Description |
|---|
BytesUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
compare(byte[] bytes1,
byte[] bytes2) |
static int |
compare(byte[] bytes1,
int length1,
byte[] bytes2,
int length2) |
static int |
compare(byte[] bytes1,
int offset1,
int length1,
byte[] bytes2,
int offset2,
int length2) |
static byte[] |
ensureCapacityWithoutCopy(byte[] bytes,
int length) |
static int |
hashBytes(byte[] bytes,
int length) |
static int |
hashBytes(byte[] bytes,
int offset,
int length) |
public static byte[] ensureCapacityWithoutCopy(byte[] bytes,
int length)
public static int hashBytes(byte[] bytes,
int length)
public static int hashBytes(byte[] bytes,
int offset,
int length)
public static int compare(byte[] bytes1,
byte[] bytes2)
public static int compare(byte[] bytes1,
int length1,
byte[] bytes2,
int length2)
public static int compare(byte[] bytes1,
int offset1,
int length1,
byte[] bytes2,
int offset2,
int length2)
Copyright © 2020–2022. All rights reserved.