git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Tree: 4a0ec23c8b4adb29f0be4d98f8a819b7d99c32e5

Files: 4a0ec23c8b4adb29f0be4d98f8a819b7d99c32e5 / 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