Function mles_utils::write_cid_to_hdr
[−]
[src]
pub fn write_cid_to_hdr(hdrv: Vec<u8>) -> Vec<u8>
Write a random connection id in network byte order to the header.
Example
use mles_utils::{write_hdr, write_cid_to_hdr}; let mut hdr = write_hdr(515); let hdr = write_cid_to_hdr(hdr);