# File lib/ffi/struct.rb, line 63 def get(ptr) type.struct_class.new(ptr.slice(self.offset, self.size)) end