class FFI::StructLayout

def offsets

Returns:
  • (Array) - Array
def offsets
  members.map { |m| [ m, self[m].offset ] }
end