| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_1_BYTES_VARIABLE_LONG |
static long |
MAX_2_BYTES_VARIABLE_LONG |
static long |
MAX_3_BYTES_VARIABLE_LONG |
static long |
MAX_4_BYTES_VARIABLE_LONG |
static long |
MAX_5_BYTES_VARIABLE_LONG |
static long |
MAX_6_BYTES_VARIABLE_LONG |
static long |
MAX_7_BYTES_VARIABLE_LONG |
static long |
MAX_8_BYTES_VARIABLE_LONG |
static long |
MIN_1_BYTES_VARIABLE_LONG |
static long |
MIN_2_BYTES_VARIABLE_LONG |
static long |
MIN_3_BYTES_VARIABLE_LONG |
static long |
MIN_4_BYTES_VARIABLE_LONG |
static long |
MIN_5_BYTES_VARIABLE_LONG |
static long |
MIN_6_BYTES_VARIABLE_LONG |
static long |
MIN_7_BYTES_VARIABLE_LONG |
static long |
MIN_8_BYTES_VARIABLE_LONG |
| Constructor and Description |
|---|
LongUtil() |
| Modifier and Type | Method and Description |
|---|---|
static long |
decodeLong(InputContext ctx) |
static long |
decodeLong(InputContext ctx,
int significantLongBytesCount0) |
static long |
decodeVariableLong(InputContext ctx) |
static long |
decodeVariableUnsignedLong(InputContext ctx) |
static void |
encodeLong(OutputContext ctx,
long v) |
static void |
encodeLong(OutputContext ctx,
long v,
int significantLongBytesCount0) |
static void |
encodeVariableLong(OutputContext ctx,
long v) |
static void |
encodeVariableUnsignedLong(OutputContext ctx,
long v) |
static int |
significantLongBytesCount0(long v) |
public static final long MIN_1_BYTES_VARIABLE_LONG
public static final long MAX_1_BYTES_VARIABLE_LONG
public static final long MIN_2_BYTES_VARIABLE_LONG
public static final long MAX_2_BYTES_VARIABLE_LONG
public static final long MIN_3_BYTES_VARIABLE_LONG
public static final long MAX_3_BYTES_VARIABLE_LONG
public static final long MIN_4_BYTES_VARIABLE_LONG
public static final long MAX_4_BYTES_VARIABLE_LONG
public static final long MIN_5_BYTES_VARIABLE_LONG
public static final long MAX_5_BYTES_VARIABLE_LONG
public static final long MIN_6_BYTES_VARIABLE_LONG
public static final long MAX_6_BYTES_VARIABLE_LONG
public static final long MIN_7_BYTES_VARIABLE_LONG
public static final long MAX_7_BYTES_VARIABLE_LONG
public static final long MIN_8_BYTES_VARIABLE_LONG
public static final long MAX_8_BYTES_VARIABLE_LONG
public LongUtil()
public static void encodeLong(OutputContext ctx, long v) throws IOException
IOExceptionpublic static long decodeLong(InputContext ctx) throws IOException
IOExceptionpublic static int significantLongBytesCount0(long v)
public static void encodeLong(OutputContext ctx, long v, int significantLongBytesCount0) throws IOException
IOExceptionpublic static long decodeLong(InputContext ctx, int significantLongBytesCount0) throws IOException
IOExceptionpublic static void encodeVariableLong(OutputContext ctx, long v) throws IOException
IOExceptionpublic static long decodeVariableLong(InputContext ctx) throws IOException
IOExceptionpublic static void encodeVariableUnsignedLong(OutputContext ctx, long v) throws IOException
IOExceptionpublic static long decodeVariableUnsignedLong(InputContext ctx) throws IOException
IOException