/// Creates a temporary input only memory reference.
/// `buffer` is a region of memory which needs to be temporarily
/// registered for the duration of the `Operation`.
Creates a temporary input only memory reference.
`buffer` is a region of memory which needs to be temporarily
registered for the duration of the `Operation`.
Creates a temporary input only memory reference . ` buffer ` is a region of memory which needs to be temporarily registered for the duration of the ` Operation ` .
pub fn new_input(buffer: &'a [u8]) -> Self {
        let raw = raw::TEEC_TempMemoryReference {
            buffer: buffer.as_ptr() as _,
            size: buffer.len(),
        };
        Self {
            raw,
            param_type: ParamType::MemrefTempInput,
            _marker: marker::PhantomData,
        }
    }
pub fn new_input ( buffer : & ' a [ u8 ] ) -> Self { let raw = raw :: TEEC_TempMemoryReference { buffer : buffer . as_ptr ( ) as _ , size : buffer . len ( ) , } ; Self { raw , param_type : ParamType :: MemrefTempInput , _marker : marker :: PhantomData , } }
Creates a temporary input only memory reference.
Creates a temporary input only memory reference .
buffer
&'a [u8]