Skip to main content

encode_stream

Function encode_stream 

Source
pub fn encode_stream(kind: u8, request_id: u16, data: &[u8]) -> Vec<u8> ⓘ
Expand description

A whole stream (PARAMS, STDIN, STDOUT, STDERR): as many records as it takes, then the empty record that ends it.