class BinData::Base

def abs_offset

distant ancestor.
Returns the offset (in bytes) of this object with respect to its most
def abs_offset
  if @parent
    @parent.abs_offset + @parent.offset_of(self)
  else
    0
  end
end