예제 #1
0
파일: UNValue.cs 프로젝트: orlandodeng/un
 public UNValueLong(long value)
 {
     lock (UNValue.m_longBytes)
     {
         Array.Copy(UNValue.EncryptLongDES(BitConverter.GetBytes(value)), _m_value, 8);
     }
 }
예제 #2
0
파일: UNValue.cs 프로젝트: orlandodeng/un
 public UNValueInt(int value)
 {
     lock (UNValue.m_intBytes)
     {
         Array.Copy(UNValue.EncryptIntDES(BitConverter.GetBytes(value)), _m_value, 4);
     }
 }
예제 #3
0
파일: UNValue.cs 프로젝트: orlandodeng/un
 public UNValueDouble(double value)
 {
     _m_value = UNValue.EncryptDES(BitConverter.GetBytes(value));
 }
예제 #4
0
파일: UNValue.cs 프로젝트: orlandodeng/un
 public UNValueDouble()
 {
     _m_value = UNValue.EncryptDES(BitConverter.GetBytes(0.0));
 }
예제 #5
0
파일: UNValue.cs 프로젝트: orlandodeng/un
 public UNValueBool()
 {
     _m_value = UNValue.EncryptDES(BitConverter.GetBytes(false));
 }
예제 #6
0
파일: UNValue.cs 프로젝트: orlandodeng/un
 public UNValueFloat(float value)
 {
     _m_value = UNValue.EncryptDES(BitConverter.GetBytes(value));
 }
예제 #7
0
파일: UNValue.cs 프로젝트: orlandodeng/un
    private byte[] _m_value = new byte[4];//= BitConverter.GetBytes(0);

    public UNValueFloat()
    {
        _m_value = UNValue.EncryptDES(BitConverter.GetBytes(0f));
    }
예제 #8
0
파일: UNValue.cs 프로젝트: orlandodeng/un
 public UNValueListFloat(List <float> value)
 {
     UNValue.InitEnLs(value, ref _m_value);
 }
예제 #9
0
파일: UNValue.cs 프로젝트: orlandodeng/un
 public UNValueListInt(List <int> value)
 {
     UNValue.InitEnLs(value, ref _m_value);
 }