[][src]Function cosmwasm::memory::release_buffer

pub fn release_buffer(buffer: Vec<u8>) -> *mut c_void

release_buffer is like alloc, but instead of creating a new vector it consumes an existing one and returns a pointer to the slice (preventing the memory from being freed until explicitly called later)