Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Structures | Macros | Functions
libmio0.h File Reference

Go to the source code of this file.

Data Structures

struct  mio0_header_t
 

Macros

#define MIO0_HEADER_LENGTH   16
 

Functions

int mio0_decode_header (const unsigned char *buf, mio0_header_t *head)
 
void mio0_encode_header (unsigned char *buf, const mio0_header_t *head)
 
int mio0_decode (const unsigned char *in, unsigned char *out, unsigned int *end)
 
int mio0_encode (const unsigned char *in, unsigned int length, unsigned char *out)
 
int mio0_decode_file (const char *in_file, unsigned long offset, const char *out_file)
 
int mio0_encode_file (const char *in_file, const char *out_file)
 

Macro Definition Documentation

◆ MIO0_HEADER_LENGTH

#define MIO0_HEADER_LENGTH   16

Function Documentation

◆ mio0_decode()

int mio0_decode ( const unsigned char in,
unsigned char out,
unsigned int end 
)

◆ mio0_decode_file()

int mio0_decode_file ( const char in_file,
unsigned long  offset,
const char out_file 
)

◆ mio0_decode_header()

int mio0_decode_header ( const unsigned char buf,
mio0_header_t head 
)

◆ mio0_encode()

int mio0_encode ( const unsigned char in,
unsigned int  length,
unsigned char out 
)

◆ mio0_encode_file()

int mio0_encode_file ( const char in_file,
const char out_file 
)

◆ mio0_encode_header()

void mio0_encode_header ( unsigned char buf,
const mio0_header_t head 
)