private void SetValue16(int offset, short mask, int value) { short aVal = BitField16.PutValue(LittleEndianHelper.ReadShort(this.m_xfData, offset), mask, (short)value); LittleEndianHelper.WriteShort(aVal, this.m_xfData, offset); }
private void WriteMaskedValue(int offset, short mask, short value) { short aVal = BitField16.PutValue(LittleEndianHelper.ReadShort(this.m_data, offset), mask, value); LittleEndianHelper.WriteShort(aVal, this.m_data, offset); }