Skip to main content

Module frame

Module frame 

Source
Expand description

A painted frame as it leaves the host: a small header and encoded pixels.

The wire form is [profile u16][tab u16][seq u32][width u16][height u16] [format u8][key u8][page_width u16][page_height u16][bytes] in little-endian, and crate::channel carries it with a length prefix. The bytes stay encoded end to end: the host is the only encoder, and the server relays them untouched.

Structs§

Frame
One encoded frame for one tab of one profile.

Enums§

Format
How a frame’s pixels are encoded.

Constants§

HEADER_LEN
The header’s own length; the payload follows it.