25 uint32_t objects_size;
26 uint32_t objects_offset;
27 uint8_t payload[0x200];
32 bool writing_finalized;
Represents a parcel.
Definition: parcel.h:21
size_t parcel_write_remaining(parcel_t *parcel)
Query how much space is left for writing.
const char * parcel_read_string16(parcel_t *parcel)
Read a string16 from the Parcel.
uint32_t result_t
Function result.
Definition: types.h:51
void * parcel_write_inplace(parcel_t *parcel, size_t length)
Returns a pointer to the write head, them bumps it length bytes.
void parcel_initialize(parcel_t *parcel)
Initialize an empty Parcel.
uint32_t parcel_read_u32(parcel_t *parcel)
Read a uint32 from the Parcel.
void parcel_write_string16(parcel_t *parcel, const char *string)
Write a string16 to the Parcel.
Represents a remote interface.
Definition: binder.h:19
result_t parcel_load(parcel_t *parcel, uint8_t *flattened)
Load a Parcel.
uint8_t * parcel_finalize_writing(parcel_t *parcel, size_t *length)
Finalize writing a Parcel.
void parcel_write_u32(parcel_t *parcel, uint32_t value)
Write a uint32 to the Parcel.
result_t parcel_read_binder(parcel_t *parcel, struct binder_t *binder)
Read a binder_t from the Parcel.
size_t parcel_read_remaining(parcel_t *parcel)
Query how much data is left that can be read.
void * parcel_read_inplace(parcel_t *parcel, size_t length)
Returns a pointer to the read head, then bumps it length bytes.
void parcel_write_interface_token(parcel_t *parcel, const char *token)
Write an interface token to the Parcel.