(&mut self, bytes: &[u8])
| 80 | } |
| 81 | |
| 82 | pub fn stack_bytes(&mut self, bytes: &[u8]) -> Result<u32> { |
| 83 | self.stack_alloc(bytes.len(), 1)?.copy_from_slice(bytes); |
| 84 | Ok(self.stack_ptr as u32) |
| 85 | } |
| 86 | |
| 87 | /// Allocate some bytes into the data section, return the pointer |
| 88 | /// Note this is only safe for T being repr(C) / packed |
no test coverage detected