public UNValueLong(long value) { lock (UNValue.m_longBytes) { Array.Copy(UNValue.EncryptLongDES(BitConverter.GetBytes(value)), _m_value, 8); } }
public UNValueInt(int value) { lock (UNValue.m_intBytes) { Array.Copy(UNValue.EncryptIntDES(BitConverter.GetBytes(value)), _m_value, 4); } }
public UNValueDouble(double value) { _m_value = UNValue.EncryptDES(BitConverter.GetBytes(value)); }
public UNValueDouble() { _m_value = UNValue.EncryptDES(BitConverter.GetBytes(0.0)); }
public UNValueBool() { _m_value = UNValue.EncryptDES(BitConverter.GetBytes(false)); }
public UNValueFloat(float value) { _m_value = UNValue.EncryptDES(BitConverter.GetBytes(value)); }
private byte[] _m_value = new byte[4];//= BitConverter.GetBytes(0); public UNValueFloat() { _m_value = UNValue.EncryptDES(BitConverter.GetBytes(0f)); }
public UNValueListFloat(List <float> value) { UNValue.InitEnLs(value, ref _m_value); }
public UNValueListInt(List <int> value) { UNValue.InitEnLs(value, ref _m_value); }