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