Esempio n. 1
0
 public LCValue(char *key, int length, void *value, int valueLength, LCValueType type)
 {
     this.key       = key;
     this.keyLength = length;
     {
         this.boolVal   = default;
         this.longVal   = default;
         this.ulongVal  = default;
         this.doubleVal = default;
         this.value     = value;
     }
     this.valueLength = valueLength;
     this.type        = type;
 }
Esempio n. 2
0
 public LCMap(char *key, LCValueType keyType, LCValueType valueType)
 {
     this.key       = key;
     this.keyType   = keyType;
     this.valueType = valueType;
 }
Esempio n. 3
0
 public LCValue(ReadOnlySpan <char> key, void *value, int length, LCValueType type) : this(key.ToPointer(), key.Length, value, length, type)
 {
 }
Esempio n. 4
0
 public LCValue(ReadOnlySpan <char> key, LCValueType type) : this(key, null, 0, type)
 {
 }