示例#1
0
 // u-short
 public new void Write(long address, ushort data)
 {
     this.Write(address, VSLib.ConvertUShortToByte(data), 2);
 }
示例#2
0
 /// <summary>
 /// Write u-short
 /// </summary>
 /// <param name="offset"></param>
 /// <param name="data"></param>
 public void Write(long offset, ushort data)
 {
     byte[] b = VSLib.ConvertUShortToByte(data);
     this.Write(offset, ref b);
 }