コード例 #1
0
ファイル: Iterator.cs プロジェクト: DaanV2/leveldb-mcpe.Net
 /// <summary>
 /// Position at the first key in the source that at or past target
 /// The iterator is IsValid() after this call iff the source contains
 /// an entry that comes at or past target.
 /// </summary>
 public void Seek(Byte[] key)
 {
     LevelDBInterop.leveldb_iter_seek(this.Handle, key, (IntPtr)key.Length);
     this.Throw();
 }
コード例 #2
0
 /// <summary>
 /// Position at the first key in the source that at or past target
 /// The iterator is IsValid() after this call iff the source contains
 /// an entry that comes at or past target.
 /// </summary>
 public void Seek(byte[] key)
 {
     LevelDBInterop.leveldb_iter_seek(Handle, key, (IntPtr)key.Length);
     Throw();
 }
コード例 #3
0
 public void Seek(Slice target)
 {
     LevelDBInterop.leveldb_iter_seek(Handle, target.buffer, (IntPtr)target.buffer.Length);
 }
コード例 #4
0
ファイル: Iterator.cs プロジェクト: robpaveza/leveldb.net
 /// <summary>
 /// Position at the first key in the source that at or past target
 /// The iterator is Valid() after this call iff the source contains
 /// an entry that comes at or past target.
 /// </summary>
 public void Seek(int key)
 {
     LevelDBInterop.leveldb_iter_seek(this.Handle, ref key, 4);
     Throw();
 }