public class Utils extends Object
| 构造器和说明 |
|---|
Utils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
decodeVectorRegister(byte[] data) |
static File |
getClassLocation(Class<?> clazz) |
static ByteBuffer |
mapBuffer(File file) |
static long |
parseNumber(String str) |
static int |
readFile(RandomAccessFile randomAccessFile,
com.sun.jna.Pointer buffer,
int _count) |
static long |
readSignedLeb128(ByteBuffer buffer,
int size)
Reads an signed integer from
buffer. |
static BigInteger |
readULEB128(ByteBuffer buffer) |
static String |
toUUID(byte[] data) |
public static String toUUID(byte[] data)
public static long readSignedLeb128(ByteBuffer buffer, int size)
buffer.public static BigInteger readULEB128(ByteBuffer buffer)
public static ByteBuffer mapBuffer(File file) throws IOException
IOExceptionpublic static int readFile(RandomAccessFile randomAccessFile, com.sun.jna.Pointer buffer, int _count)
public static long parseNumber(String str)
public static String decodeVectorRegister(byte[] data)
Copyright © 2022. All rights reserved.