public class ByteTool extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte[][] |
EMPTY_ARRAY_2 |
| Constructor and Description |
|---|
ByteTool() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
concatenate(byte[]... ins) |
static byte[] |
concatenate(List<byte[]> ins) |
static byte[] |
copyOfRange(byte[] in,
int offset,
int length) |
static byte[] |
flipToAndFromComparableByteArray(byte[] ins) |
static byte[] |
flipToAndFromComparableByteArray(byte[] ins,
int offset,
int length) |
static byte[] |
fromUInt7ByteArray(byte[] bytes,
int offset,
int length) |
static ArrayList<Byte> |
getArrayList(byte[] ins) |
static byte |
getComparableByte(byte value) |
static byte[] |
getComparableBytes(byte value) |
static byte[] |
getUInt7Bytes(List<Byte> values) |
static byte[] |
padPrefix(byte[] in,
int finalWidth) |
static int |
totalLength(byte[]... arrays) |
static byte[] |
unsignedIncrement(byte[] in) |
static byte[] |
unsignedIncrementOverflowToNull(byte[] in) |
public static byte[] getComparableBytes(byte value)
public static byte getComparableByte(byte value)
public static byte[] flipToAndFromComparableByteArray(byte[] ins)
public static byte[] flipToAndFromComparableByteArray(byte[] ins,
int offset,
int length)
public static byte[] copyOfRange(byte[] in,
int offset,
int length)
public static byte[] unsignedIncrement(byte[] in)
public static byte[] unsignedIncrementOverflowToNull(byte[] in)
public static int totalLength(byte[]... arrays)
public static byte[] concatenate(List<byte[]> ins)
public static byte[] concatenate(byte[]... ins)
public static byte[] padPrefix(byte[] in,
int finalWidth)
public static byte[] fromUInt7ByteArray(byte[] bytes,
int offset,
int length)
Copyright © 2009–2021. All rights reserved.