def write(addr, objects, **options)
      mem_io(:write) { |io| io.write(objects, from: MemoryIO::Util.safe_eval(addr, bases), **options) }
    end
def write(addr, objects, **options)
      mem_io(:write) { |io| io.write(objects, from: MemoryIO::Util.safe_eval(addr, bases), **options) }
    end
Write objects at +addr+.

 This method has *almost* same arguments as {IO#write}.

 @param [Integer, String] addr
   The address to start to write.
   See examples.
 @param [Object, Array<Object>] objects
   Objects to write.
   If +objects+ is an array, the write procedure will be invoked +objects.size+ times.

 @return [void]

 @example
   process = MemoryIO.attach('self')
   s = 'A' * 16
   process.write(s.object_id * 2 + 16, 'BBBBCCCC')
   s
   #=> 'BBBBCCCCAAAAAAAA'
 @see IO#write