Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Fiddle::Pointer#[]=

[]=(*args, value)

Set the value at index to int.

Or, set the memory at start until length with the contents of string, the memory from dl_cptr, or the memory pointed at by the memory address addr.

See also .[] #[] #call_free #== also in 3.3 · 3.2 · 3.1 · 3.0