[][src]Function amq_protocol::frame::generation::gen_protocol_header

pub fn gen_protocol_header(
    x: (&mut [u8], usize)
) -> Result<(&mut [u8], usize), GenError>

Serialize the protocol header in the given buffer