read_fixed_header

Function read_fixed_header 

pub async fn read_fixed_header<R: AsyncRead + Unpin>(
    reader: &mut R,
    decoder: &mut Decoder,
) -> Result<FixedHeader, Error>
Expand description

Read bytes one at a time until a complete fixed header is decoded.