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
Updated by Eregon (Benoit Daloze) over 3 years ago
- Related to Feature #17851: ruby extension for memoryview added
Updated by dsisnero (Dominic Sisneros) over 3 years ago
- Description updated (diff)
Updated by dsisnero (Dominic Sisneros) over 3 years ago
- Description updated (diff)
Updated by kou (Kouhei Sutou) over 3 years ago
- Status changed from Open to Third Party's Issue
Could you file this to https://github.com/ruby/fiddle/ ?
Actions
Like0
Like0Like0Like0Like0