Function serialize_input_record_0
pub fn serialize_input_record_0(record: &INPUT_RECORD_0) -> Vec<u8> ⓘExpand description
Serialize an [INPUT_RECORD_0].KeyEvent into a Vec<u8>using custom binary format.
Panics if the [INPUT_RECORD_0] is not a KeyEvent.