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