#include <stdint.h>
#include <stdio.h>
#include "javaclass.h"
#include "constantpool.h"
Go to the source code of this file.
§ readDoubleFromUint64()
double readDoubleFromUint64 |
( |
uint64_t |
bytes | ) |
|
§ readFieldDescriptor()
int32_t readFieldDescriptor |
( |
uint8_t * |
utf8_bytes, |
|
|
int32_t |
utf8_len, |
|
|
char |
checkValidClassIdentifier |
|
) |
| |
§ readFloatFromUint32()
float readFloatFromUint32 |
( |
uint32_t |
bytes | ) |
|
§ readMethodDescriptor()
int32_t readMethodDescriptor |
( |
uint8_t * |
utf8_bytes, |
|
|
int32_t |
utf8_len, |
|
|
char |
checkValidClassIdentifier |
|
) |
| |
§ readu2()
uint8_t readu2 |
( |
JavaClass * |
jc, |
|
|
uint16_t * |
out |
|
) |
| |
Reads a two-byte unsigned integer from the JavaClass file.
- Parameters
-
| JavaClass* | jc - poiter to an already open JavaClass file |
[out] | uint16_t* | out - pointer to variable that will receive the value read, if non null. |
- Returns
- 1 in case of success, 0 in case of failure
§ readu4()
uint8_t readu4 |
( |
JavaClass * |
jc, |
|
|
uint32_t * |
out |
|
) |
| |
Reads a four-byte unsigned integer from the JavaClass file.
- Parameters
-
| JavaClass* | jc - poiter to an already open JavaClass file |
[out] | uint32_t* | out - pointer to variable that will receive the value read, if non null. |
- Returns
- 1 in case of success, 0 in case of failure