wiithon.fst.raw_node module

class wiithon.fst.raw_node.RawFSTNode[source]

Bases: object

On-disk FST entry (12 bytes) This is the raw binary format stored on the Wii disc

SIZE: int = 12
classmethod read(stream)[source]

Read a 12-byte FST entry from a binary stream. :type stream: BinaryIO :param stream:

Return type:

RawFSTNode

Returns:

Parameters:

stream (BinaryIO)

write(stream)[source]

Write this entry as 12 bytes to a binary stream. :type stream: BinaryIO :param stream:

Return type:

None

Parameters:

stream (BinaryIO)