concat the contents of `data` into self
(&self, data: &[u8])
| 87 | |
| 88 | /// concat the contents of `data` into self |
| 89 | pub fn append_data(&self, data: &[u8]) { |
| 90 | unsafe { BNAppendDataBufferContents(self.0, data.as_ptr() as *const c_void, data.len()) } |
| 91 | } |
| 92 | |
| 93 | /// Return the byte at `offset` |
| 94 | pub unsafe fn byte_at(&self, offset: usize) -> u8 { |