git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Tree: 3228beb1ebc4a9921b555fd514ede84f91ce5bf9

Files: 3228beb1ebc4a9921b555fd514ede84f91ce5bf9 / 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