git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Tree: 06b2218f6ef66cc3a3f189638221ab05e9d11687

Files: 06b2218f6ef66cc3a3f189638221ab05e9d11687 / docs / index.md

3767 bytesRaw

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

Table of Contents

constructor

index.js:17-25

Parameters

get

index.js:32-36

gets a value given a key

Parameters

Returns Promise

set

index.js:86-89

stores a value at a given key

Parameters

Returns Promise

delete

index.js:134-137

deletes a value at a given key

Parameters

Returns Promise

done

index.js:196-202

returns a promise that resolve when the tree is done with all of its writes

Returns Promise

flush

index.js:218-221

creates a merkle root for the current tree and stores the data perstantly

Returns Promise

emptyTreeState

index.js:247-249

returns the state of an empty tree

ArrayConstructor

index.js:255-257

returns an Uint1Array constructir which is used to repersent keys

Returns object

index.js:264-266

returns a merkle link for some given data

Parameters

Returns Buffer

Built with git-ssb-web