AcTools.LapTimes.LevelDbUtils.LevelDbInterop.leveldb_writebatch_put C# (CSharp) Méthode

leveldb_writebatch_put() private méthode

private leveldb_writebatch_put ( IntPtr batch, byte key, int keylen, byte val, int vallen ) : void
batch System.IntPtr
key byte
keylen int
val byte
vallen int
Résultat void
        public static extern void leveldb_writebatch_put(IntPtr /* WriteBatch */ batch, byte[] key, int keylen, byte[] val, int vallen);

Usage Example

Exemple #1
0
 /// <summary>
 /// Store the mapping "key->value" in the database.
 /// </summary>
 public WriteBatch Put(byte[] key, byte[] value)
 {
     LevelDbInterop.leveldb_writebatch_put(Handle, key, key.Length, value, value.Length);
     return(this);
 }