public final class Leb128Utils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends Type> |
decodeLeb(String input,
Class<T> type) |
static byte[] |
getInputHeaderLengthBytes(byte[] dataSource,
DecodeNext decodeNext) |
static String |
leb128HexString(int value)
Gets the number of bytes in the unsigned LEB128 encoding of the given value.
|
public static String leb128HexString(int value)
value - the value in questionpublic static byte[] getInputHeaderLengthBytes(byte[] dataSource,
DecodeNext decodeNext)
public static <T extends Type> DecodeNext decodeLeb(String input, Class<T> type)
Copyright © 2022. All rights reserved.