git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Tree: e2cd325fdcc6c86a830407f0c4c8638f3a5ad25a

Files: e2cd325fdcc6c86a830407f0c4c8638f3a5ad25a / docs / index.md

3777 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

Parameters

Returns Promise

delete

index.js:135-138

deletes a value at a given key

Parameters

Returns Promise

done

index.js:197-203

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

Returns Promise

flush

index.js:219-222

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

Returns Promise

emptyTreeState

index.js:248-250

returns the state of an empty tree

ArrayConstructor

index.js:256-258

returns an Uint1Array constructor which is used to represent keys

Returns object

index.js:265-267

returns a merkle link for some given data

Parameters

Returns Buffer

Built with git-ssb-web