class FFI::StructLayout

def offsets

def offsets
  members.map { |m| [ m, self[m].offset ] }
end