MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / seek_relative

Method seek_relative

python/binaryview.py:10469–10484  ·  view source on GitHub ↗

``seek_relative`` updates the internal offset by ``offset``. :param int offset: offset to add to the internal offset :rtype: None :Example: >>> hex(br.offset) '0x100000008L' >>> br.seek_relative(-8) >>> hex(br.offset) '0x100000000L' >>>

(self, offset: int)

Source from the content-addressed store, hash-verified

10467 core.BNSeekBinaryReader(self._handle, offset)
10468
10469 def seek_relative(self, offset: int) -> None:
10470 """
10471 ``seek_relative`` updates the internal offset by ``offset``.
10472
10473 :param int offset: offset to add to the internal offset
10474 :rtype: None
10475 :Example:
10476
10477 >>> hex(br.offset)
10478 '0x100000008L'
10479 >>> br.seek_relative(-8)
10480 >>> hex(br.offset)
10481 '0x100000000L'
10482 >>>
10483 """
10484 core.BNSeekBinaryReaderRelative(self._handle, offset)
10485
10486
10487class BinaryWriter:

Callers 1

seekMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected