Skip to main content

encode_size

Function encode_size 

Source
pub fn encode_size(columns: u16, rows: u16) -> [u8; 4]
Expand description

A terminal size as the plaintext of a sealed resize: columns, then rows, big-endian.