pub fn write_header( out: &mut Vec<u8>, length: u32, kind: FrameKind, flags: FrameFlags, stream_id: u32, )
Serializes a frame header.