public class LongByteTool extends Object
| Constructor and Description |
|---|
LongByteTool() |
| Modifier and Type | Method and Description |
|---|---|
static long[] |
fromComparableByteArray(byte[] bytes) |
static Long |
fromComparableBytes(byte[] bytes,
int byteOffset) |
static long |
fromRawBytes(byte[] bytes,
int byteOffset) |
static long[] |
fromUInt63ByteArray(byte[] bytes) |
static long[] |
fromUInt63ByteArray(byte[] bytes,
int startIdx,
int length) |
static long |
fromUInt63Bytes(byte[] bytes,
int byteOffset) |
static byte[] |
getComparableByteArray(List<Long> valuesWithNulls) |
static byte[] |
getComparableByteArray(long[] values) |
static byte[] |
getComparableBytes(long value) |
static byte[] |
getRawBytes(long in) |
static byte[] |
getUInt63ByteArray(List<Long> valuesWithNulls) |
static byte[] |
getUInt63Bytes(long value) |
static int |
toComparableBytes(long value,
byte[] bytes,
int offset) |
static int |
toRawBytes(long in,
byte[] bytes,
int offset) |
public static byte[] getRawBytes(long in)
public static int toRawBytes(long in,
byte[] bytes,
int offset)
public static long fromRawBytes(byte[] bytes,
int byteOffset)
public static byte[] getComparableBytes(long value)
public static int toComparableBytes(long value,
byte[] bytes,
int offset)
public static Long fromComparableBytes(byte[] bytes, int byteOffset)
public static byte[] getComparableByteArray(long[] values)
public static long[] fromComparableByteArray(byte[] bytes)
public static byte[] getUInt63Bytes(long value)
public static long fromUInt63Bytes(byte[] bytes,
int byteOffset)
public static long[] fromUInt63ByteArray(byte[] bytes)
public static long[] fromUInt63ByteArray(byte[] bytes,
int startIdx,
int length)
Copyright © 2009–2021. All rights reserved.