Function mles_utils::write_cid [] [src]

pub fn write_cid() -> Vec<u8>

Write a random connection id in network byte order.

Example

use mles_utils::{write_cid, CIDL};

let cidv = write_cid();
assert_eq!(CIDL, cidv.len());