Exemple #1
0
 public void Add(mstring key, recordset value)
 {
     Add(key.ToByteSlice(StaticGlobals.DSpace_KeyLength), value.ToByteSlice());
 }        
Exemple #2
0
 public void Add(mstring key, mstring value)
 {
     ByteSlice bKey = key.ToByteSlice(StaticGlobals.DSpace_KeyLength);
     ByteSlice bValue = value.ToByteSlice();
     Add(bKey, bValue);
 }
Exemple #3
0
 public static ByteSlice Prepare(mstring ms)
 {
     return ms.ToByteSlice();
 }
Exemple #4
0
        public void Add(recordset key, mstring value)
        {
            if (key.ContainsString)
            {
                throw new Exception("Key recordset cannot contain string.");
            }

            Add(key.ToByteSlice(StaticGlobals.DSpace_KeyLength), value.ToByteSlice());
        }
Exemple #5
0
 public static ByteSlice PreparePaddedMString(mstring x, int size)
 {
     return x.ToByteSlice(size);
 }