| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static int | |
| public static int | Returns: its write size, in bytesthe value in question value)Gets the number of bytes in the signed LEB128 encoding of the given value. |
| public static int | Returns: its write size, in bytesthe value in question value)Gets the number of bytes in the unsigned LEB128 encoding of the given value. |
| public static void | writeSignedLeb128(ByteOutput out, int value)
Writes |
| public static void | writeUnsignedLeb128(ByteOutput out, int value)
Writes |
| Leb128Utils | back to summary |
|---|---|
| private Leb128Utils() This class is uninstantiable. | |
| readSignedLeb128 | back to summary |
|---|---|
| public static int readSignedLeb128(ByteInput in) Reads an signed integer from | |
| readUnsignedLeb128 | back to summary |
|---|---|
| public static int readUnsignedLeb128(ByteInput in) Reads an unsigned integer from | |
| signedLeb128Size | back to summary |
|---|---|
| public static int signedLeb128Size(int value) Gets the number of bytes in the signed LEB128 encoding of the given value.
| |
| unsignedLeb128Size | back to summary |
|---|---|
| public static int unsignedLeb128Size(int value) Gets the number of bytes in the unsigned LEB128 encoding of the given value.
| |
| writeSignedLeb128 | back to summary |
|---|---|
| public static void writeSignedLeb128(ByteOutput out, int value) Writes | |
| writeUnsignedLeb128 | back to summary |
|---|---|
| public static void writeUnsignedLeb128(ByteOutput out, int value) Writes | |