BplusDotNet.BplusTree.Set C# (CSharp) Method

Set() public method

public Set ( string key, object map ) : void
key string
map object
return void
        public void Set(string key, object map)
        {
            if (!(map is string))
            {
                throw new BplusTreeException("BplusTree only stores strings as values");
            }
            string thestring = (string) map;
            byte[] bytes = StringToBytes(thestring);
            //this.tree[key] = bytes;
            this.tree.Set(key, bytes);
        }