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