Actions
Feature #17831
closedadd slice method to Fiddle::MemoryView
Status:
Third Party's Issue
Assignee:
-
Target version:
-
Description
# 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) # returns a new MemoryView object with the same MemoryView#obj # that is no copying
end
Actions
Like0
Like0Like0Like0Like0