git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Tree: 8370f62963962f6038a5541f8b3fbc040babd4e7

Files: 8370f62963962f6038a5541f8b3fbc040babd4e7 / docs / index.md

3694 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:87-90

stores a value at a given key returning the tree node that the value was saved in

Parameters

Returns Promise

delete

index.js:139-142

smContainer.js deletes a value at a given key

Parameters

Returns Promise

done

index.js:201-207

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

Returns Promise

flush

index.js:223-226

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

Returns Promise

emptyTreeState

index.js:252-254

returns the state of an empty tree

ArrayConstructor

index.js:260-262

returns an Uint1Array constructir which is used to repersent keys

Returns object

index.js:269-271

returns a merkle link for some given data

Parameters

Returns Buffer

Built with git-ssb-web