gtirb.offset module¶
- class gtirb.offset.Offset(element_id, displacement)[source]¶
Bases:
NamedTuple
An Offset describes a location inside a
gtirb.Node
, such as agtirb.DataBlock
orgtirb.ByteInterval
.- Variables:
~.element_id – The
gtirb.Node
containing the location of interest.~.displacement – The offset inside the Node to point to.