Beispiel #1
0
 /// <summary>
 /// Gets or sets a value in memory at a particular byte offset.
 /// </summary>
 /// <value>A value in memory.</value>
 public double this[uint offset]
 {
     get
     {
         return(ValueHelpers.ReinterpretAsFloat64(new LinearMemoryAsInt64(mem)[offset]));
     }
     set
     {
         var uintView = new LinearMemoryAsInt64(mem);
         uintView[offset] = ValueHelpers.ReinterpretAsInt64(value);
     }
 }