class FFI::StructLayout::InlineStruct

def get(ptr)

def get(ptr)
  type.struct_class.new(ptr.slice(self.offset, self.size))
end