``save`` saves the original binary file to the provided destination ``dest`` along with any modifications. :param str dest: destination path and filename of file to be written :return: True on success, False on failure :rtype: bool
(self, dest: Union['fileaccessor.FileAccessor', str])
| 4686 | return core.BNIsOffsetWritableSemantics(self.handle, addr) |
| 4687 | |
| 4688 | def save(self, dest: Union['fileaccessor.FileAccessor', str]) -> bool: |
| 4689 | """ |
| 4690 | ``save`` saves the original binary file to the provided destination ``dest`` along with any modifications. |
| 4691 | |
| 4692 | :param str dest: destination path and filename of file to be written |
| 4693 | :return: True on success, False on failure |
| 4694 | :rtype: bool |
| 4695 | """ |
| 4696 | if isinstance(dest, fileaccessor.FileAccessor): |
| 4697 | return core.BNSaveToFile(self.handle, dest._cb) |
| 4698 | return core.BNSaveToFilename(self.handle, str(dest)) |
| 4699 | |
| 4700 | def register_notification(self, notify: BinaryDataNotification) -> None: |
| 4701 | """ |
no outgoing calls
no test coverage detected