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; }
public LCMap(char *key, LCValueType keyType, LCValueType valueType) { this.key = key; this.keyType = keyType; this.valueType = valueType; }
public LCValue(ReadOnlySpan <char> key, void *value, int length, LCValueType type) : this(key.ToPointer(), key.Length, value, length, type) { }
public LCValue(ReadOnlySpan <char> key, LCValueType type) : this(key, null, 0, type) { }