Esempio n. 1
0
 public OperationRegion(IOperationRegionAccessor accessor,
                        RegionSpace regionSpace, ulong startByteIndex, ulong numBytes)
 {
     this.accessor       = accessor;
     this.regionSpace    = regionSpace;
     this.startByteIndex = startByteIndex;
     this.numBytes       = numBytes;
 }
Esempio n. 2
0
 public OperationRegion(RegionSpace operationSpace, NodePath nodePath)
 {
     this.operationSpace = operationSpace;
     this.nodePath       = nodePath;
 }
Esempio n. 3
0
 public byte[] ReadBytes(RegionSpace regionSpace, ulong offset, ulong length)
 {
     throw new Exception("Unimplemented ReadBytes() from index field");
 }
Esempio n. 4
0
 public void Write32(RegionSpace regionSpace, ulong offset, uint value)
 {
     index.Write(new Integer(offset));
     data.Write(new Integer(value));
 }
Esempio n. 5
0
 public uint Read32(RegionSpace regionSpace, ulong offset)
 {
     index.Write(new Integer(offset));
     return((uint)data.Read());
 }
Esempio n. 6
0
 public ushort Read16(RegionSpace regionSpace, ulong offset)
 {
     index.Write(new Integer(offset));
     return((ushort)data.Read());
 }
Esempio n. 7
0
 public byte Read8(RegionSpace regionSpace, ulong offset)
 {
     index.Write(new Integer(offset));
     return((byte)data.Read());
 }