pub fn new_output(buffer: &'a mut Vec<u8>) -> Self {
        let raw = raw::TEEC_TempMemoryReference {
            buffer: buffer.as_ptr() as _,
            size: buffer.capacity(),
        };
        Self {
            raw,
            param_type: ParamType::MemrefTempOutput,
            _marker: marker::PhantomData,
        }
    }
/// Creates a temporary memory reference. `buffer` is a region of memory
/// which needs to be temporarily registered for the duration of the
/// `Operation`.
Creates a temporary memory reference. `buffer` is a region of memory
which needs to be temporarily registered for the duration of the
`Operation`.
Creates a temporary memory reference . ` buffer ` is a region of memory which needs to be temporarily registered for the duration of the ` Operation ` .
pub fn new_output(buffer: &'a mut Vec<u8>) -> Self {
        let raw = raw::TEEC_TempMemoryReference {
            buffer: buffer.as_ptr() as _,
            size: buffer.capacity(),
        };
        Self {
            raw,
            param_type: ParamType::MemrefTempOutput,
            _marker: marker::PhantomData,
        }
    }
pub fn new_output ( buffer : & ' a mut Vec < u8 > ) -> Self { let raw = raw :: TEEC_TempMemoryReference { buffer : buffer . as_ptr ( ) as _ , size : buffer . capacity ( ) , } ; Self { raw , param_type : ParamType :: MemrefTempOutput , _marker : marker :: PhantomData , } }
Creates a temporary memory reference.
Creates a temporary memory reference .
buffer
&'a mut Vec<u8>
buffer
&'a mut Vec<u8>