change the size of the allocated data, if new size is bigger data is need to be initialized
(&mut self, len: usize)
| 67 | /// change the size of the allocated data, if new size is bigger data is |
| 68 | /// need to be initialized |
| 69 | pub unsafe fn set_len(&mut self, len: usize) { |
| 70 | unsafe { BNSetDataBufferLength(self.0, len) } |
| 71 | } |
| 72 | |
| 73 | /// set the size to 0 |
| 74 | pub fn clear(&self) { |
no outgoing calls