Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Octocat-spinner-32 m4 Autotoolized May 01, 2012
Octocat-spinner-32 tests Implemented Native.leveldb_iter_valid() and Iterator.IsValid() test-c… March 29, 2014
Octocat-spinner-32 .gitignore Autotoolized May 01, 2012
Octocat-spinner-32 .travis.yml Travis-CI: IRC channel moved to freenode December 17, 2013
Octocat-spinner-32 AssemblyInfo.cs Autotoolized May 01, 2012
Octocat-spinner-32 AssemblyVersion.cs Autotoolized May 01, 2012
Octocat-spinner-32 AssemblyVersion.cs.in Autotoolized May 01, 2012
Octocat-spinner-32 Cache.cs Added XML documentation January 26, 2013
Octocat-spinner-32 CompressionType.cs Added XML documentation January 26, 2013
Octocat-spinner-32 DB.cs Implemented DB.GetProperty() January 26, 2013
Octocat-spinner-32 Iterator.cs Added XML documentation January 26, 2013
Octocat-spinner-32 LICENSE Initial 3-clause BSD licensed C# LevelDB binding March 08, 2012
Octocat-spinner-32 Makefile.am Add README.md, LICENSE to EXTRA_DIST and clean up output dir March 21, 2013
Octocat-spinner-32 Native.cs Restored ABI 1.2.0.0 compatibility March 23, 2013
Octocat-spinner-32 Options.cs Implemented Options.{WriteBufferSize,BlockSize,BlockRestartInterval} January 26, 2013
Octocat-spinner-32 README.md Link 1.9.1 release in README.md March 23, 2013
Octocat-spinner-32 ReadOptions.cs Added XML documentation January 26, 2013
Octocat-spinner-32 Snapshot.cs Added XML documentation January 26, 2013
Octocat-spinner-32 WriteBatch.cs Added XML documentation January 26, 2013
Octocat-spinner-32 WriteOptions.cs Added XML documentation January 26, 2013
Octocat-spinner-32 autogen.sh Autotoolized May 01, 2012
Octocat-spinner-32 configure.ac Bumped version to 1.9.1 March 23, 2013
Octocat-spinner-32 leveldb-sharp-tests.csproj Don't require a specific NUnit version January 09, 2013
Octocat-spinner-32 leveldb-sharp.csproj Added XML documentation January 26, 2013
Octocat-spinner-32 leveldb-sharp.dll.config P/Invoke shared library libleveldb.so.1 May 01, 2012
Octocat-spinner-32 leveldb-sharp.pc.in Autotoolized May 01, 2012
Octocat-spinner-32 leveldb-sharp.sln Added project name to standard header March 10, 2012
Octocat-spinner-32 leveldb-sharp.snk Initial 3-clause BSD licensed C# LevelDB binding March 08, 2012
README.md

leveldb-sharp is a portable C# binding for the C API of the LevelDB library.

To support the most reach leveldb-sharp is available under the 3-clause BSD license, which is the same license LevelDB uses.

leveldb-sharp uses the C API instead of the C++ API for portability. Using C++/CLI would have been the direct route but it is currently not portable outside of Windows. As I use the binding for Smuxi which targets Linux, Windows and OS X, the C API was the better pick.

Features

leveldb-sharp offers:

  • low-level function calls to LevelDB
  • high-level object oriented API with .NET enrichments (IEnumerable, IDisposable)
    • DB API
    • ReadOptions/WriteOptions/Options API
    • Write batch API
    • Iterator API
    • Cache API
    • Snapshot API
    • Compact range API
  • Allows combined use of low-level and high-level APIs
  • NUnit test-case coverage

Limitations

Currently leveldb-sharp lacks:

  • comparator API (unsafe code? no thanks...)

Download

Projects using leveldb-sharp

Something went wrong with that request. Please try again.