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