예제 #1
0
 public static void WriteInt16(IntPtr ptr, int ofs, char val) => Marshal.WriteInt16(ptr, ofs, (short)val);
예제 #2
0
 public static void WriteInt16(object ptr, int ofs, short val)
 {
     WriteValueSlow(ptr, ofs, val, (IntPtr nativeHome, int offset, short value) => Marshal.WriteInt16(nativeHome, offset, value));
 }
예제 #3
0
 public static void WriteInt16(IntPtr ptr, int ofs, short val) => Marshal.WriteInt16(ptr + ofs, val);