git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Tree: 679937360074d0e31e59880b76fbfa01da58efd3

Files: 679937360074d0e31e59880b76fbfa01da58efd3 / docs / index.md

4301 bytesRaw

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

Table of Contents

constructor

index.js:17-26

Parameters

getSubTree

index.js:33-38

creates a new instance of RadixTree that is the subTree of the given key

Parameters

Returns Promise resolve to the new instance of RadixTree

get

index.js:45-50

gets a value given a key

Parameters

Returns Promise

set

index.js:113-116

stores a value at a given key

Parameters

Returns Promise

delete

index.js:161-164

deletes a value at a given key

Parameters

Returns Promise

done

index.js:223-229

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

Returns Promise

flush

index.js:245-248

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

Returns Promise

emptyTreeState

index.js:278-280

returns the state of an empty tree

ArrayConstructor

index.js:286-288

returns an Uint1Array constructir which is used to repersent keys

Returns object

index.js:295-297

returns a merkle link for some given data

Parameters

Returns Buffer

Built with git-ssb-web