예제 #1
0
파일: VSObject.cs 프로젝트: ivvinokurov/VSX
 // 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);
 }