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

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