Skip to main content

encode_allocate_success

Function encode_allocate_success 

Source
pub fn encode_allocate_success(
    tid: &[u8; 12],
    relayed: SocketAddr,
    lifetime_secs: u32,
    out: &mut [u8],
) -> Result<usize, &'static str>
Expand description

Encodes allocate_success into the caller buffer.