class FFI::StructLayout
def offset_of(field_name)
def offset_of(field_name) self[field_name].offset end
def offsets
def offsets members.map { |m| [ m, self[m].offset ] } end
def offset_of(field_name) self[field_name].offset end
def offsets members.map { |m| [ m, self[m].offset ] } end