Skip to content

SamuelFisher/CLRdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLRdb

Build Status

CLRdb is a Redis RDB file parser for .NET.

Installation

PM> Install-Package CLRdb

Features

Currently only supports string values.

Supported Platforms

  • .NET Platform Standard 1.0 and above

Usage

Reading an RDB file into a dictionary:

IDictionary<string, string> db = RdbReader.Read(File.OpenRead("dump.rdb"));

Reading key/value pairs from an RDB file one-by-one:

using (var reader = new RdbStreamReader(File.OpenRead("dump.rdb"))
{
    while (reader.ReadNext())
    {
        KeyValuePair<string, string> keyValue = reader.Current;
    }
}

About

Redis RDB file parser for .NET

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages