git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Tree: e18e9d5f15767dd1baa0c4728910bd0b6c3d0b38

Files: e18e9d5f15767dd1baa0c4728910bd0b6c3d0b38 / 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