public class ByteUtil
extends java.lang.Object
| Constructor and Description |
|---|
ByteUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
byteToByteArray(byte first,
byte... others) |
static byte[] |
concatAll(byte[] first,
byte[]... rest) |
static byte[] |
concatAllObjects(java.lang.Object... bytes) |
static int |
findIndex(byte[] content,
int startIndex,
byte[] searching) |
static boolean |
isAllZero(byte[] data) |
static byte[] |
numberToByteArray(long input,
int byteLen)
Verilen bir sayıyı byte array'e dönüştürür.
|
static byte[] |
xor(byte[] b1,
byte[] b2) |
static byte[] |
xor(byte[] b1,
int b1StartIndex,
byte[] b2,
int b2StartIndex,
int len) |
public static int findIndex(byte[] content,
int startIndex,
byte[] searching)
public static byte[] concatAll(byte[] first,
byte[]... rest)
public static byte[] byteToByteArray(byte first,
byte... others)
public static byte[] xor(byte[] b1,
byte[] b2)
public static byte[] xor(byte[] b1,
int b1StartIndex,
byte[] b2,
int b2StartIndex,
int len)
public static byte[] numberToByteArray(long input,
int byteLen)
input - long cinsinden veripublic static boolean isAllZero(byte[] data)
public static byte[] concatAllObjects(java.lang.Object... bytes)
Copyright © 2025. All rights reserved.