wiithon.formats.bnr module

class wiithon.formats.bnr.BNR[source]

Bases: object

classmethod read(stream)[source]
Parameters:

stream (BinaryIO)

Return type:

BNR

write(stream)[source]
Parameters:

stream (BinaryIO)

Return type:

None

get_bytes()[source]
Return type:

bytes

property title: str
get_icon()[source]
Return type:

bytes

get_banner()[source]
Return type:

bytes

get_sound()[source]
Return type:

bytes

replace_icon(data)[source]
Parameters:

data (bytes)

Return type:

None

replace_banner(data)[source]
Parameters:

data (bytes)

Return type:

None

replace_sound(data)[source]
Parameters:

data (bytes)

Return type:

None

open_banner()[source]
Return type:

U8

save_banner(u8)[source]
Parameters:

u8 (U8)

Return type:

None