```ruby
require 'pcap/ffi'

require 'ffi'

module FFI
  module PCap
    class Dumper < FFI::MemoryPointer

      def self.open(path)
      end

      def tell
        PCap.pcap_dump_ftell(self)
      end

      def flush
        PCap.pcap_dump_flush(self)
      end

      def close
        PCap.pcap_dump_close(self)
      end

    end
  end
end
```

Make Dumper more like Handler in how it wraps around a pointer.
user
```ruby
require 'pcap/ffi'

require 'ffi'

module FFI
  module PCap
    class Dumper < FFI::MemoryPointer

      def initialize(dumper)
        @dumper = dumper
      end

      def tell
        PCap.pcap_dump_ftell(@dumper)
      end

      def flush
        PCap.pcap_dump_flush(@dumper)
      end

      def close
        PCap.pcap_dump_close(@dumper)
      end

      def to_ptr
        @dumper
      end

      def inspect
        "#<#{self.class}: 0x#{@dumper.to_s(16)}>"
      end

    end
  end
end
```
assistant