public void Add(mstring key, recordset value) { Add(key.ToByteSlice(StaticGlobals.DSpace_KeyLength), value.ToByteSlice()); }
public void Add(mstring key, mstring value) { ByteSlice bKey = key.ToByteSlice(StaticGlobals.DSpace_KeyLength); ByteSlice bValue = value.ToByteSlice(); Add(bKey, bValue); }
public static ByteSlice Prepare(mstring ms) { return ms.ToByteSlice(); }
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()); }
public static ByteSlice PreparePaddedMString(mstring x, int size) { return x.ToByteSlice(size); }