BplusDotNet.BplusTreeBytes.Set C# (CSharp) 메소드

Set() 공개 메소드

public Set ( string key, object map ) : void
key string
map object
리턴 void
        public void Set(string key, object map)
        {
            if (!(map is byte[]) )
            {
                throw new BplusTreeBadKeyValue("BplusTreeBytes can only archive byte array as value");
            }
            byte[] thebytes = (byte[]) map;
            this[key] = thebytes;
        }