pub fn encode_stream_id(id: &str) -> Vec<u8> ⓘExpand description
Encode the Stream ID extension’s 32-bit-little-endian-word storage
(§3.2.1.3) from a plain UTF-8 stream id string, padding with 0x00 up to
the next 4-byte boundary. Inverse of HandshakeExtensionBlock::as_stream_id.