class BinData::Array

def offset_of(child) # :nodoc:

:nodoc:
def offset_of(child) # :nodoc:
  index = find_index_of(child)
  sum = sum_num_bytes_below_index(index)
  child.bit_aligned? ? sum.floor : sum.ceil
end