method

pack

Importance_0
v1_9_3_125 - Show latest stable - 0 notes - Class: Packer
pack(ary) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/dl/lib/dl/pack.rb, line 78
    def pack(ary)
      case SIZEOF_VOIDP
      when SIZEOF_LONG
        ary.pack(@template)
      when SIZEOF_LONG_LONG
        ary.pack(@template)
      else
        raise(RuntimeError, "sizeof(void*)?")
      end
    end
Register or log in to add new notes.