public void Set(string key, object map)
{
xBucket bucket;
string prefix;
bool found = FindBucketForPrefix(key, out bucket, out prefix, false);
if (!found)
{
bucket = new xBucket(this);
}
if (!(map is byte[]))
{
throw new BplusTreeBadKeyValue("xBplus only accepts byte array values");
}
bucket.Add(key, (byte[]) map);
this.tree[prefix] = bucket.dump();
}