method

unpack

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: Packer
unpack(ary) public

No documentation

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

Hide source
# File ext/fiddle/lib/fiddle/pack.rb, line 94
    def unpack(ary)
      case SIZEOF_VOIDP
      when SIZEOF_LONG
        ary.join().unpack(@template)
      else
        if defined?(TYPE_LONG_LONG) and
          SIZEOF_VOIDP == SIZEOF_LONG_LONG
          ary.join().unpack(@template)
        else
          raise(RuntimeError, "sizeof(void*)?")
        end
      end
    end
Register or log in to add new notes.