class MemoryIO::Process
def read(addr, num_elements, **options)
- See: IO#read -
Returns:
-
(String, Object, Array
-
Parameters:
-
num_elements
(Integer
) -- -
addr
(Integer, String
) --
def read(addr, num_elements, **options) mem_io(:read) { |io| io.read(num_elements, from: MemoryIO::Util.safe_eval(addr, **bases), **options) } end