A union of the three MsgBuffer structs, and the primary type for interacting with message data. More...
#include <eztr_api.h>
Data Fields | |
EZTR_MsgBuffer_Raw | raw |
EZTR_MsgBuffer_Partition | partitions |
EZTR_MsgBuffer_Data | data |
A union of the three MsgBuffer structs, and the primary type for interacting with message data.
Each member of the union is a different way of representing the buffer in code.
raw
is the buffer as it exists in the Majora's Mask decomp.partitions
is the buffer, seperated into it's two primary regions (header and content).data
is the buffer, with it's header and content values listed as individual members.Do not allocate this on the stack, as you'll likely end up with a StackOverflow. Instead, create a buffer using EZTR_MsgBuffer_Create()
of one of it's sister functions.