pub fn from_bytes<'a>(_bytes: &'a [u8]) -> KeyExchange {
        KeyExchange {
            identity: [0u8; 32],
            signature: &[0u8; 64],
            mac: vec![1, 2, 3, 4],
        }
    }
///##
/// Construct a KeyExchange from the bytes of a previously formed
/// KeyExchange.
///
/// # Inputs
///
/// * `bytes`: an `&[u8]` representing a KeyExchange.
///
/// # Returns
///
/// A KeyExchange formed from bytes.
///
/// # Warning
///
/// If you give this function bytes which do not represent a KeyExchange
/// it will be broken.
///
Construct a KeyExchange from the bytes of a previously formed
KeyExchange.
Construct a KeyExchange from the bytes of a previously formed KeyExchange .
pub fn from_bytes<'a>(_bytes: &'a [u8]) -> KeyExchange {
        KeyExchange {
            identity: [0u8; 32],
            signature: &[0u8; 64],
            mac: vec![1, 2, 3, 4],
        }
    }
pub fn from_bytes < ' a > ( _bytes : & ' a [ u8 ] ) -> KeyExchange { KeyExchange { identity : [ 0u8 ; 32 ] , signature : & [ 0u8 ; 64 ] , mac : vec ! [ 1 2 3 4 ] , } }
Construct a KeyExchange from the bytes of a previously formed
KeyExchange.
Construct a KeyExchange from the bytes of a previously formed KeyExchange .
_bytes
&'a [u8]
A KeyExchange formed from bytes.
A KeyExchange formed from bytes .
_bytes
&'a [u8]
inputs
`bytes`: an `&[u8]` representing a KeyExchange.
` bytes ` : an ` & [ u8 ] ` representing a KeyExchange .
warning
If you give this function bytes which do not represent a KeyExchange
it will be broken.
If you give this function bytes which do not represent a KeyExchange it will be broken .