/// <summary> /// Get short value /// </summary> /// <param name="name"></param> /// <returns></returns> public short GetShort(string name) { byte[] b = get_field(name, FIELD_TYPE_SHORT); return((b == null) ? DEFAULT_SHORT : VSLib.ConvertByteToShort(b)); }
/// <summary> /// Read short /// </summary> /// <param name="address"></param> /// <returns></returns> public short ReadShort(long address) { return(VSLib.ConvertByteToShort(ReadBytes(address, 2))); }
/// <summary> /// Read short /// </summary> /// <returns></returns> public short ReadShort(long offset = -1) { return(VSLib.ConvertByteToShort(this.ReadBytes(offset, 2))); }