MCPcopy Create free account
hub / github.com/RustCrypto/utils / get_out

Method get_out

inout/src/inout_buf.rs:124–126  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

122 /// Get output slice.
123 #[inline(always)]
124 pub fn get_out(&mut self) -> &mut [T] {
125 unsafe { slice::from_raw_parts_mut(self.out_ptr, self.len) }
126 }
127
128 /// Consume `self` and get the output slice with lifetime `'out` filled with data from
129 /// the input slice.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected