Exemplo n.º 1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="AllocatedMemory" /> class.
 /// </summary>
 /// <param name="memory">The memory.</param>
 /// <param name="bytes">The bytes.</param>
 /// <remarks>Created 2012-02-15</remarks>
 public AllocatedMemory(ExternalProcessReader memory, int bytes)
 {
     _memory = memory;
     Address = memory.AllocateMemory(bytes);
 }