public class IntegerByteTool extends Object
| Constructor and Description |
|---|
IntegerByteTool() |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
fromComparableByteArray(byte[] bytes) |
static int |
fromComparableBytes(byte[] bytes,
int byteOffset) |
static List<Integer> |
fromIntegerByteArray(byte[] bytes,
int startIdx) |
static int |
fromRawBytes(byte[] bytes,
int offset) |
static int |
fromUInt31Bytes(byte[] bytes,
int startIdx) |
static byte[] |
getComparableByteArray(int[] values) |
static byte[] |
getComparableBytes(int value) |
static byte[] |
getIntegerByteArray(List<Integer> valuesWithNulls) |
static byte[] |
getRawBytes(int in) |
static byte[] |
getUInt31Bytes(int value) |
static int |
toComparableBytes(int value,
byte[] bytes,
int offset) |
static int |
toRawBytes(int in,
byte[] bytes,
int offset) |
public static byte[] getRawBytes(int in)
public static int toRawBytes(int in,
byte[] bytes,
int offset)
public static int fromRawBytes(byte[] bytes,
int offset)
public static byte[] getComparableBytes(int value)
public static int toComparableBytes(int value,
byte[] bytes,
int offset)
public static int fromComparableBytes(byte[] bytes,
int byteOffset)
public static byte[] getComparableByteArray(int[] values)
public static int[] fromComparableByteArray(byte[] bytes)
public static byte[] getUInt31Bytes(int value)
public static int fromUInt31Bytes(byte[] bytes,
int startIdx)
Copyright © 2009–2021. All rights reserved.