git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Tree: 3e5f1310aaf2b3f3e5ce84ef70c9d91a24657bde

Files: 3e5f1310aaf2b3f3e5ce84ef70c9d91a24657bde / docs / index.md

4259 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:100-103

stores a value at a given key

Parameters

Returns Promise

delete

index.js:148-151

deletes a value at a given key

Parameters

Returns Promise

done

index.js:210-216

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

Returns Promise

flush

index.js:232-235

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

Returns Promise

emptyTreeState

index.js:265-267

returns the state of an empty tree

ArrayConstructor

index.js:273-275

returns an Uint1Array constructir which is used to repersent keys

Returns object

index.js:282-284

returns a merkle link for some given data

Parameters

Returns Buffer

Built with git-ssb-web