pub fn new(s: &'a Vec<u8>, r: &'a mut Vec<u8>) -> SpiMsg<'a> {
        if s.len() > r.len() {
            r.resize(s.len(), 0);
        }
        Self::inner_new(Some(s), Some(r))
    }
/// New a message with send-buf and receive-buf
New a message with send-buf and receive-buf
New a message with send - buf and receive - buf
pub fn new(s: &'a Vec<u8>, r: &'a mut Vec<u8>) -> SpiMsg<'a> {
        if s.len() > r.len() {
            r.resize(s.len(), 0);
        }
        Self::inner_new(Some(s), Some(r))
    }
pub fn new ( s : & ' a Vec < u8 > , r : & ' a mut Vec < u8 > ) -> SpiMsg < ' a > { if s . len ( ) > r . len ( ) { r . resize ( s . len ( ) , 0 ) ; } Self :: inner_new ( Some ( s ) , Some ( r ) ) }
New a message with send-buf and receive-buf
New a message with send - buf and receive - buf
s
&'a Vec<u8>
r
&'a mut Vec<u8>
s
&'a Vec<u8>
r
&'a mut Vec<u8>