Example #1
0
 public UNValueLong(long value)
 {
     lock (UNValue.m_longBytes)
     {
         Array.Copy(UNValue.EncryptLongDES(BitConverter.GetBytes(value)), _m_value, 8);
     }
 }
Example #2
0
 public UNValueInt(int value)
 {
     lock (UNValue.m_intBytes)
     {
         Array.Copy(UNValue.EncryptIntDES(BitConverter.GetBytes(value)), _m_value, 4);
     }
 }
Example #3
0
 public UNValueDouble(double value)
 {
     _m_value = UNValue.EncryptDES(BitConverter.GetBytes(value));
 }
Example #4
0
 public UNValueDouble()
 {
     _m_value = UNValue.EncryptDES(BitConverter.GetBytes(0.0));
 }
Example #5
0
 public UNValueBool()
 {
     _m_value = UNValue.EncryptDES(BitConverter.GetBytes(false));
 }
Example #6
0
 public UNValueFloat(float value)
 {
     _m_value = UNValue.EncryptDES(BitConverter.GetBytes(value));
 }
Example #7
0
    private byte[] _m_value = new byte[4];//= BitConverter.GetBytes(0);

    public UNValueFloat()
    {
        _m_value = UNValue.EncryptDES(BitConverter.GetBytes(0f));
    }
Example #8
0
 public UNValueListFloat(List <float> value)
 {
     UNValue.InitEnLs(value, ref _m_value);
 }
Example #9
0
 public UNValueListInt(List <int> value)
 {
     UNValue.InitEnLs(value, ref _m_value);
 }