ui.messages

Classes

ScreenRender

Raw raccoon/screen_render wire message.

ScreenRenderAnswer

Raw raccoon/screen_render/answer wire message.

Module Contents

class ui.messages.ScreenRender

Raw raccoon/screen_render wire message.

Wire format, all big-endian and tightly packed: - bytes 0..7: timestamp as signed int64 - bytes 8..11: screen_name byte length as unsigned uint32 - next N bytes: UTF-8 screen_name - next 4 bytes: entries byte length as unsigned uint32 - next M bytes: UTF-8 entries

timestamp: int
screen_name: str
entries: str
encode() bytes
classmethod decode(data: bytes) Self
class ui.messages.ScreenRenderAnswer

Raw raccoon/screen_render/answer wire message.

Wire format, all big-endian and tightly packed: - bytes 0..7: timestamp as signed int64 - bytes 8..11: screen_name byte length as unsigned uint32 - next N bytes: UTF-8 screen_name - next 4 bytes: value byte length as unsigned uint32 - next P bytes: UTF-8 value - next 4 bytes: reason byte length as unsigned uint32 - next Q bytes: UTF-8 reason

timestamp: int
screen_name: str
value: str
reason: str
encode() bytes
classmethod decode(data: bytes) Self