Returns true
if this gem is installable for the current platform.
Returns true if this specification is installable on this platform.
Like Enumerable#reject
, but chains operation to be lazy-evaluated.
Like Enumerable#grep
, but chains operation to be lazy-evaluated.
Like Enumerable#grep_v
, but chains operation to be lazy-evaluated.
Rewinds the enumerator chain by calling the “rewind” method on each enumerable in reverse order. Each call is performed only if the enumerable responds to the method.
Rewinds the product enumerator by calling the “rewind” method on each enumerable in reverse order. Each call is performed only if the enumerable responds to the method.
Reset the digest to its initial state and return self
.
Reset the digest to the initial state and return self.
Free this closure explicitly. You can’t use this closure anymore.
If this closure is already freed, this does nothing.
Whether this closure was freed explicitly.
Create a new closure. If a block is given, the created closure is automatically freed after the given block is executed.
The all given arguments are passed to Fiddle::Closure.new
. So using this method without block equals to Fiddle::Closure.new
.
Fiddle::Closure.create(TYPE_INT, [TYPE_INT]) do |closure| # closure is freed automatically when this block is finished. end
Or read the memory at address address
with length len
and return a string with that memory
Get the free function for this pointer.
Returns a new instance of Fiddle::Function
.
Set
the free function for this pointer to function
in the given Fiddle::Function
.
Returns if the free function for this pointer has been called.
Returns a new Fiddle::Pointer
instance that is a reference pointer for this pointer.
Analogous to the ampersand operator in C.
Return the object that this pinned instance references.
Returns true if the reference has been cleared, otherwise returns false.
Fully resets the internal state of the Cipher
. By using this, the same Cipher
instance may be used several times for encryption or decryption tasks.
Internally calls EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, -1).
Resets the Digest
in the sense that any Digest#update
that has been performed is abandoned and the Digest
is set to its initial state again.