wiithon.formats.u8 module

class wiithon.formats.u8.U8Node[source]

Bases: object

class wiithon.formats.u8.U8[source]

Bases: object

classmethod read(stream)[source]
Parameters:

stream (BinaryIO)

Return type:

U8

get_file(path)[source]
Parameters:

path (str)

Return type:

bytes

replace_file(path, data)[source]
Parameters:
Return type:

None

write(stream)[source]
Parameters:

stream (BinaryIO)

Return type:

None

get_bytes()[source]
Return type:

bytes

extract_to(output_dir)[source]
Parameters:

output_dir (str)

Return type:

None

get_file_by_path(path)[source]
Parameters:

path (str)

Return type:

bytes

replace_file_by_path(path, data)[source]
Parameters:
Return type:

None