wiithon.formats.yaz0 module

class wiithon.formats.yaz0.Yaz0[source]

Bases: object

classmethod read(stream)[source]
Parameters:

stream (BinaryIO)

Return type:

Yaz0

classmethod from_data(data)[source]
Parameters:

data (bytes)

Return type:

Yaz0

write(stream)[source]
Parameters:

stream (BinaryIO)

get_bytes()[source]
Return type:

bytes

static uncompress(compressed_data, size)[source]
Parameters:
Return type:

bytes

static compress(data)[source]
Parameters:

data (bytes)

Return type:

bytes