Module io

Module io 

Source
Expand description

Read and write Gfx packets.

The input consists of any number of Gfx packets, and the output is the decompiled macros in plain-text. The endianness and microcode type of the input can be set using gfxd_endian and gfxd_target.

Several methods of doing I/O are available. No method is selected by default, meaning there will be no input, and any output will be discarded.

Functions§

gfxd_input_buffer
Use the buffer pointed to by buf, of size bytes.
gfxd_input_callback
Use the provided callback function, fn.
gfxd_input_fd
Use read() with the provided file descriptor, fd.
gfxd_output_buffer
Use the buffer pointed to by buf, of size bytes.
gfxd_output_callback
Use the provided callback function, fn.
gfxd_output_fd
Use write() with the provided file descriptor, fd.

Type Aliases§

gfxd_input_fn_t
gfxd_output_fn_t