public final class VarLengthIntUtils extends Object
| 构造器和说明 |
|---|
VarLengthIntUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
decodeInt(DataInput is) |
static long |
decodeLong(byte[] ba,
int index) |
static long |
decodeLong(DataInput is) |
static int |
encodeInt(byte[] bytes,
int offset,
int value) |
static int |
encodeInt(DataOutput os,
int value) |
static int |
encodeLong(byte[] bytes,
long value) |
static int |
encodeLong(DataOutput os,
long value) |
public static int encodeLong(DataOutput os, long value) throws IOException
IOExceptionpublic static int encodeLong(byte[] bytes,
long value)
public static long decodeLong(DataInput is) throws IOException
IOExceptionpublic static long decodeLong(byte[] ba,
int index)
public static int encodeInt(byte[] bytes,
int offset,
int value)
public static int encodeInt(DataOutput os, int value) throws IOException
IOExceptionpublic static int decodeInt(DataInput is) throws IOException
IOExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.