Feature #17831
Updated by dsisnero (Dominic Sisneros) over 3 years ago
``` ruby # Fiddle::MemoryView#slice(start, length) # Fiddle::MemoryView#slice(range) mv = Fiddle::MemoryView.new(memory_object) while mv puts mv[0] mv = mv.slice(1..-1) Fiddle::MemoryView.new(memoryobj) # returns a new MemoryView object with the same MemoryView#obj # that is no copying while mv puts mv[0] mv = mv.slice(1..-1) end ``` related to #17832 related to #17851 related to #17833