From 28de23368c8ed63be6beca5bd3623985fd21fd75 Mon Sep 17 00:00:00 2001 From: "aegir[bot]" Date: Wed, 20 Dec 2023 08:21:05 +0000 Subject: [PATCH] docs: update documentation [skip ci] --- assets/highlight.css | 63 +++--- assets/navigation.js | 2 +- assets/search.js | 2 +- assets/style.css | 11 + classes/block.Block.html | 12 +- classes/cid.CID.html | 42 ++-- classes/hashes_digest.Digest.html | 12 +- classes/hashes_hasher.Hasher.html | 12 +- functions/block.create.html | 6 +- functions/block.createUnsafe.html | 6 +- functions/block.decode.html | 4 +- functions/block.encode.html | 4 +- functions/bytes.coerce.html | 2 +- functions/bytes.equals.html | 2 +- functions/bytes.fromHex.html | 2 +- functions/bytes.fromString.html | 2 +- functions/bytes.isBinary.html | 2 +- functions/bytes.toHex.html | 2 +- functions/bytes.toString.html | 2 +- functions/cid.format.html | 2 +- functions/cid.fromJSON.html | 2 +- functions/cid.toJSON.html | 2 +- functions/codecs_json.decode.html | 2 +- functions/codecs_json.encode.html | 2 +- functions/codecs_raw.decode.html | 2 +- functions/codecs_raw.encode.html | 2 +- functions/hashes_digest.create.html | 4 +- functions/hashes_digest.decode.html | 4 +- functions/hashes_digest.equals.html | 2 +- functions/hashes_hasher.from.html | 2 +- functions/index.varint.decode.html | 2 +- functions/index.varint.encodeTo.html | 2 +- functions/index.varint.encodingLength.html | 2 +- functions/link.create.html | 8 +- functions/link.createLegacy.html | 5 +- functions/link.decode.html | 4 +- functions/link.isLink.html | 4 +- functions/link.parse.html | 4 +- functions/traversal.walk.html | 2 +- index.html | 72 +++---- interfaces/bases_interface.BaseCodec.html | 4 + interfaces/bases_interface.BaseDecoder.html | 5 + ....html => bases_interface.BaseEncoder.html} | 7 +- .../bases_interface.CombobaseDecoder.html | 9 + .../bases_interface.MultibaseCodec.html | 6 + ... => bases_interface.MultibaseDecoder.html} | 13 +- .../bases_interface.MultibaseEncoder.html | 10 + .../bases_interface.UnibaseDecoder.html | 10 + interfaces/block_interface.Block.html | 9 + interfaces/block_interface.BlockView.html | 13 ++ interfaces/block_interface.ByteView.html | 166 +++++++++++++++ interfaces/block_interface.Phantom.html | 10 + interfaces/codecs_interface.BlockCodec.html | 6 + ...tml => codecs_interface.BlockDecoder.html} | 8 +- interfaces/codecs_interface.BlockEncoder.html | 5 + interfaces/hashes_hasher.MultihashHasher.html | 12 -- .../hashes_interface.MultihashDigest.html | 11 + .../hashes_interface.MultihashHasher.html | 12 ++ .../hashes_interface.SyncMultihashHasher.html | 17 ++ interfaces/index.BaseCodec.html | 4 - interfaces/index.BaseDecoder.html | 5 - interfaces/index.Block.html | 9 - interfaces/index.BlockCodec.html | 6 - interfaces/index.BlockEncoder.html | 5 - interfaces/index.BlockView.html | 13 -- interfaces/index.ByteView.html | 166 --------------- interfaces/index.CombobaseDecoder.html | 9 - interfaces/index.LegacyLink.html | 16 -- interfaces/index.Link.html | 17 -- interfaces/index.LinkJSON.html | 2 - interfaces/index.MultibaseCodec.html | 6 - interfaces/index.MultibaseDecoder.html | 8 - interfaces/index.MultibaseEncoder.html | 10 - interfaces/index.Phantom.html | 10 - interfaces/index.SyncMultihashHasher.html | 17 -- interfaces/index.UnibaseDecoder.html | 10 - interfaces/link_interface.LegacyLink.html | 16 ++ interfaces/link_interface.Link.html | 17 ++ interfaces/link_interface.LinkJSON.html | 2 + modules/bases_base10.html | 4 +- modules/bases_base16.html | 4 +- modules/bases_base2.html | 4 +- modules/bases_base256emoji.html | 4 +- modules/bases_base32.html | 4 +- modules/bases_base36.html | 4 +- modules/bases_base58.html | 4 +- modules/bases_base64.html | 4 +- modules/bases_base8.html | 4 +- modules/bases_identity.html | 4 +- modules/bases_interface.html | 10 + modules/basics.html | 4 +- modules/block.html | 5 +- modules/block_interface.html | 6 + modules/bytes.html | 4 +- modules/cid.html | 4 +- modules/codecs_interface.html | 5 + modules/codecs_json.html | 5 +- modules/codecs_raw.html | 5 +- modules/hashes_digest.html | 5 +- modules/hashes_hasher.html | 6 +- modules/hashes_identity.html | 4 +- .../hashes_interface.html | 15 +- modules/hashes_sha1.html | 4 +- modules/hashes_sha2.html | 4 +- modules/index.html | 201 +++++++++++++++--- modules/index.varint.html | 4 +- modules/interface.html | 29 +++ modules/link.html | 4 +- modules/link_interface.html | 13 ++ modules/traversal.html | 6 +- types/bases_interface.Multibase.html | 3 + types/block_interface.BlockCursorView.html | 1 + types/codecs_json.ByteView.html | 1 - types/codecs_raw.ByteView.html | 1 - types/hashes_digest.MultihashDigest.html | 1 - types/hashes_hasher.Await.html | 1 - types/index.BlockCursorView.html | 1 - types/index.DAG_PB.html | 1 - types/index.Multibase.html | 3 - types/index.SHA_256.html | 1 - types/index.ToString.html | 1 - types/index.UnknownLink.html | 1 - types/index.Version.html | 1 - types/link_interface.DAG_PB.html | 1 + types/link_interface.SHA_256.html | 1 + types/link_interface.ToString.html | 1 + types/link_interface.UnknownLink.html | 1 + types/link_interface.Version.html | 1 + types/traversal.BlockView.html | 1 - types/traversal.CID.html | 1 - variables/bases_base10.base10.html | 2 +- variables/bases_base16.base16.html | 2 +- variables/bases_base16.base16upper.html | 2 +- variables/bases_base2.base2.html | 2 +- .../bases_base256emoji.base256emoji.html | 2 +- variables/bases_base32.base32.html | 2 +- variables/bases_base32.base32hex.html | 2 +- variables/bases_base32.base32hexpad.html | 2 +- variables/bases_base32.base32hexpadupper.html | 2 +- variables/bases_base32.base32hexupper.html | 2 +- variables/bases_base32.base32pad.html | 2 +- variables/bases_base32.base32padupper.html | 2 +- variables/bases_base32.base32upper.html | 2 +- variables/bases_base32.base32z.html | 2 +- variables/bases_base36.base36.html | 2 +- variables/bases_base36.base36upper.html | 2 +- variables/bases_base58.base58btc.html | 2 +- variables/bases_base58.base58flickr.html | 2 +- variables/bases_base64.base64.html | 2 +- variables/bases_base64.base64pad.html | 2 +- variables/bases_base64.base64url.html | 2 +- variables/bases_base64.base64urlpad.html | 2 +- variables/bases_base8.base8.html | 2 +- variables/bases_identity.identity.html | 2 +- variables/basics.bases.html | 2 +- variables/basics.codecs.html | 2 +- variables/basics.hashes.html | 2 +- variables/bytes.empty.html | 2 +- variables/codecs_json.code.html | 2 +- variables/codecs_json.name.html | 2 +- variables/codecs_raw.code.html | 2 +- variables/codecs_raw.name.html | 2 +- variables/hashes_identity.identity.html | 2 +- variables/hashes_sha1.sha1.html | 2 +- variables/hashes_sha2.sha256.html | 2 +- variables/hashes_sha2.sha512.html | 2 +- 166 files changed, 834 insertions(+), 647 deletions(-) create mode 100644 interfaces/bases_interface.BaseCodec.html create mode 100644 interfaces/bases_interface.BaseDecoder.html rename interfaces/{block.RequiredCreateOptions.html => bases_interface.BaseEncoder.html} (60%) create mode 100644 interfaces/bases_interface.CombobaseDecoder.html create mode 100644 interfaces/bases_interface.MultibaseCodec.html rename interfaces/{index.BaseEncoder.html => bases_interface.MultibaseDecoder.html} (53%) create mode 100644 interfaces/bases_interface.MultibaseEncoder.html create mode 100644 interfaces/bases_interface.UnibaseDecoder.html create mode 100644 interfaces/block_interface.Block.html create mode 100644 interfaces/block_interface.BlockView.html create mode 100644 interfaces/block_interface.ByteView.html create mode 100644 interfaces/block_interface.Phantom.html create mode 100644 interfaces/codecs_interface.BlockCodec.html rename interfaces/{index.BlockDecoder.html => codecs_interface.BlockDecoder.html} (56%) create mode 100644 interfaces/codecs_interface.BlockEncoder.html delete mode 100644 interfaces/hashes_hasher.MultihashHasher.html create mode 100644 interfaces/hashes_interface.MultihashDigest.html create mode 100644 interfaces/hashes_interface.MultihashHasher.html create mode 100644 interfaces/hashes_interface.SyncMultihashHasher.html delete mode 100644 interfaces/index.BaseCodec.html delete mode 100644 interfaces/index.BaseDecoder.html delete mode 100644 interfaces/index.Block.html delete mode 100644 interfaces/index.BlockCodec.html delete mode 100644 interfaces/index.BlockEncoder.html delete mode 100644 interfaces/index.BlockView.html delete mode 100644 interfaces/index.ByteView.html delete mode 100644 interfaces/index.CombobaseDecoder.html delete mode 100644 interfaces/index.LegacyLink.html delete mode 100644 interfaces/index.Link.html delete mode 100644 interfaces/index.LinkJSON.html delete mode 100644 interfaces/index.MultibaseCodec.html delete mode 100644 interfaces/index.MultibaseDecoder.html delete mode 100644 interfaces/index.MultibaseEncoder.html delete mode 100644 interfaces/index.Phantom.html delete mode 100644 interfaces/index.SyncMultihashHasher.html delete mode 100644 interfaces/index.UnibaseDecoder.html create mode 100644 interfaces/link_interface.LegacyLink.html create mode 100644 interfaces/link_interface.Link.html create mode 100644 interfaces/link_interface.LinkJSON.html create mode 100644 modules/bases_interface.html create mode 100644 modules/block_interface.html create mode 100644 modules/codecs_interface.html rename interfaces/index.MultihashDigest.html => modules/hashes_interface.html (50%) create mode 100644 modules/interface.html create mode 100644 modules/link_interface.html create mode 100644 types/bases_interface.Multibase.html create mode 100644 types/block_interface.BlockCursorView.html delete mode 100644 types/codecs_json.ByteView.html delete mode 100644 types/codecs_raw.ByteView.html delete mode 100644 types/hashes_digest.MultihashDigest.html delete mode 100644 types/hashes_hasher.Await.html delete mode 100644 types/index.BlockCursorView.html delete mode 100644 types/index.DAG_PB.html delete mode 100644 types/index.Multibase.html delete mode 100644 types/index.SHA_256.html delete mode 100644 types/index.ToString.html delete mode 100644 types/index.UnknownLink.html delete mode 100644 types/index.Version.html create mode 100644 types/link_interface.DAG_PB.html create mode 100644 types/link_interface.SHA_256.html create mode 100644 types/link_interface.ToString.html create mode 100644 types/link_interface.UnknownLink.html create mode 100644 types/link_interface.Version.html delete mode 100644 types/traversal.BlockView.html delete mode 100644 types/traversal.CID.html diff --git a/assets/highlight.css b/assets/highlight.css index 1b6b8511..1ba66a01 100644 --- a/assets/highlight.css +++ b/assets/highlight.css @@ -1,34 +1,32 @@ :root { - --light-hl-0: #000000; - --dark-hl-0: #D4D4D4; - --light-hl-1: #800000; - --dark-hl-1: #808080; - --light-hl-2: #800000; - --dark-hl-2: #569CD6; - --light-hl-3: #000000FF; - --dark-hl-3: #D4D4D4; - --light-hl-4: #E50000; - --dark-hl-4: #9CDCFE; - --light-hl-5: #0000FF; - --dark-hl-5: #CE9178; - --light-hl-6: #AF00DB; - --dark-hl-6: #C586C0; - --light-hl-7: #001080; - --dark-hl-7: #9CDCFE; - --light-hl-8: #A31515; - --dark-hl-8: #CE9178; - --light-hl-9: #0000FF; - --dark-hl-9: #569CD6; - --light-hl-10: #0070C1; - --dark-hl-10: #4FC1FF; - --light-hl-11: #795E26; - --dark-hl-11: #DCDCAA; - --light-hl-12: #098658; - --dark-hl-12: #B5CEA8; - --light-hl-13: #008000; - --dark-hl-13: #6A9955; - --light-hl-14: #267F99; - --dark-hl-14: #4EC9B0; + --light-hl-0: #AF00DB; + --dark-hl-0: #C586C0; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #001080; + --dark-hl-2: #9CDCFE; + --light-hl-3: #A31515; + --dark-hl-3: #CE9178; + --light-hl-4: #0000FF; + --dark-hl-4: #569CD6; + --light-hl-5: #0070C1; + --dark-hl-5: #4FC1FF; + --light-hl-6: #795E26; + --dark-hl-6: #DCDCAA; + --light-hl-7: #098658; + --dark-hl-7: #B5CEA8; + --light-hl-8: #008000; + --dark-hl-8: #6A9955; + --light-hl-9: #800000; + --dark-hl-9: #808080; + --light-hl-10: #800000; + --dark-hl-10: #569CD6; + --light-hl-11: #000000FF; + --dark-hl-11: #D4D4D4; + --light-hl-12: #E50000; + --dark-hl-12: #9CDCFE; + --light-hl-13: #0000FF; + --dark-hl-13: #CE9178; --light-code-background: #FFFFFF; --dark-code-background: #1E1E1E; } @@ -48,7 +46,6 @@ --hl-11: var(--light-hl-11); --hl-12: var(--light-hl-12); --hl-13: var(--light-hl-13); - --hl-14: var(--light-hl-14); --code-background: var(--light-code-background); } } @@ -67,7 +64,6 @@ --hl-11: var(--dark-hl-11); --hl-12: var(--dark-hl-12); --hl-13: var(--dark-hl-13); - --hl-14: var(--dark-hl-14); --code-background: var(--dark-code-background); } } @@ -86,7 +82,6 @@ --hl-11: var(--light-hl-11); --hl-12: var(--light-hl-12); --hl-13: var(--light-hl-13); - --hl-14: var(--light-hl-14); --code-background: var(--light-code-background); } @@ -105,7 +100,6 @@ --hl-11: var(--dark-hl-11); --hl-12: var(--dark-hl-12); --hl-13: var(--dark-hl-13); - --hl-14: var(--dark-hl-14); --code-background: var(--dark-code-background); } @@ -123,5 +117,4 @@ .hl-11 { color: var(--hl-11); } .hl-12 { color: var(--hl-12); } .hl-13 { color: var(--hl-13); } -.hl-14 { color: var(--hl-14); } pre, code { background: var(--code-background); } diff --git a/assets/navigation.js b/assets/navigation.js index d3afa4ab..a3bf1855 100644 --- a/assets/navigation.js +++ b/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA62aTVPjOBCG/0u4UkA+N8ONwNayW+zO1AJzmaJSwnGIB8fO2M4wma357ytZjqyPVqsTc+HgfvWkpZZaUosv//Wq+EfVu+w9szIuz8Xf/kXvtLdh1Yp/XeeLbdp8L+fSeraq1imXvCbZonc5OO1FqyRdFHHWu/xi4HTQd1Yk7NlBQcTh4NfTr1PIsQnq2ITu2CTg2OQMInLHTi3OdrOJCyKs1hK7OsB6OiB3dIC7NjgDcH6fxpN4nX9NUNcaDd1DBwo6usf6f8Pr9hAdyyF9MIeB0RzK4bSJzqwZDlbxDyKKKym0DVvQgVxMZBJmtwWG5zhAPxBN49KHgTIGBw4AufeHQGnEn0TaT+qSQRPtkJ5oh4FEO5S50Sa6XaQkWgU7JNGOp1hXx1NyV8fT5yrCHeQ0pQx0eDxdpkn0GuixAkoxscuTEdblyYjcZR0EucdRENHp7GQUXLgKFV64k9G2SIk0rqTQ6O5JMTEQ6NSjz7wp7pucI1OCT8kizqqk2vnc2ttJnrkw2zmFg7mui0lUgq7x7ySXrv+8QdufSIFkjPofRsOLke7BropxB072Eh9ikbzEZYUzlMYHWbFypedCCKI0PogIRhbwRGm8IyLi6AmwoNR2ZIFF+SKOMIAUIIS6nxhBCvCZlebRKzAS4jNpXs1MQJSyslSAmYvpD6baz/8bf9smRby4LmJWxR83VZJnWo94BOJiySIFBPWWn+OJPsq1sCU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hDrKGkLEdRcgCHKHOI4tUmd0hhDDLc2qUMewKq9SwFrkzpIE4RYTm1S5zRGmKGfBFKwTJq6v3/oY4JCdHlNaCGdnhNaTIf3BA1y7IOCiej8otDi3vVJAcC+w5uCRe32qNDCurwqtJSuzwotqeO7QgsKPyzYDwQuQym8COeRAIC0Gh/GfihwIUrhQ/jLezWE+M8DcnkHKFJ0VIWwpgTvgElpzhKrvTQj7TesKP0/X1vR211VsO989rDUjYgy0f/jBDoQtBjfxcDZrow6iE1xnsLc9m8sBYe0hQgFMC5P/wMwqDYQfTAAAA==" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA62aTW/bOBCG/4tzDdL6S+vm1iSLTRfd3QJJeykWASMrsRpZ8kpyW7fof19QlCV+zAxHpi45hC8fD0fkcDjk55+TOvleTy4nj6JKqlfy7/T15HyyE/VmcjnZFut91v6/elCtF5t6m03OJy9pvp5czs4n8SbN1mWSTy4/Gzgd9FWUqXh0UBBxPvv1769zyLCINCziGxZ5DIsuIOJ8Zpk1jfa7XVIyYY2WOdQZNdIZe6Az2rTZBYDDbVpGybb4kpKmtRq+hQ4UNPSIxX8DNXtO+nLOd+bc4825cqdNdGbNfLZJvjNRm+Q7h7YTaz5wJ9ZMJmN2W2B4jgP0gWgel+8Gjg8GOoA9+iFQHvEHk/aDu2TIQDvnB9q5J9DOVWy0ie4QOYG2gw0JtMsVNdTlij3U5eqxjmkDl6uLTukZ8HL1lKXxi2fEHVCJmUOOFtSQowV7yDoIMi9aXEBEZ7DRwrtwO5R/4UaLfZkxafsy49D45ikx80OQU48/81a0bWqOrBg2peskr9P6gJl1bGdZ5sJs4zoczIVNzOukfBJxgtp4FLCMvBJVcl2sE23hdgCX2Kkt9jLS7JSimyQu1nq48kBbvQ/7ez4M2+op7HWxfSweB5psd6J+4K99VqePg9xsdmHBh1hvd2L9wBDX252oH/iYD7bf7MKyvufWhx1lsUV7/ea36dJZhmlcgasvjSvWort+d0P2P1MCxVhM3yz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7oUBdS1JZH8AUkjzWJzCFJI83Xt9I0fOPDvIfesCrIw1B3xzhl50QyhUPrSxptKDaksYJqC7plFPrSxaDW2EiQbrKS/KvZ0d6ev0Loo5RAYO4I9TAbCyrCobmGBS102JU59oDoPWawRU6jeKv0ZGZFEQE9cMrgBqSVQNkz0VHelJd0QAGVRY1kr+2iNwwaYxTL+81xMl39xrj5Kt7xVCtZkK3gBM6/GxsoJjViPvCSzoKfaw0f36f5M/1hkfs5MCp1MyA0aNe8OstGDRGNuzwgjNihxiQFZusoMzYRY2QHQPQMTJkFxueJbvMwEzZBQZky0OvCTg5r8EcJe81iIG5r8EKyn9N0uk5sMMJyYMN2Di5MIwcIx+GyePkxDB7lLzYRY+VG8PkkPzYIAblyAZptDzZpI6WKxvYUfJlgzhWzmxBA/Nmg4blznrqlIFmyf8GXkN3iJCXND0kKOT3mIBor0FODfQmIvg1TY8bNXAC2BFipkUNe1DTw0Je1PSU0Cc1PSlwBfcg/8HXfhzjMjoFinAeyACQXoNh7EcyLqRTYAj8XriBMN9Kq+XtoSjRSVfLDcV7bE4rc5ZY/VUz0X8nygr/+aaVvKaVMur6U7aP9twIgHEiPi+62eDR4xz6AyNFPJDPin3Qfqbd0lrwXk1dAbNpDI654mmW+0jO5Nnbv3p7boGUyMK0L86JLQNktSofzN06QNo9+F7ZxYFbCEjUlD6os5WAwFYFw/TYUZfia1JWInPnc9fEihjfRAaGwJ4iFVBh73/iTZB2QkQAAA==" \ No newline at end of file diff --git a/assets/search.js b/assets/search.js index c63b085f..24d25852 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA81d33MbN5L+X6RXRSYa8zNvm/jusle5261LNi8ul4umaJuxRGpJKl4nlf/9BsBgptHTDWBG1NW92JII9NdAN7obHzDDP66Ohy+nq2/f/HH1ebe/u/oWbq7264ft1bdX3a/bf13dXD0d77vfHg53T/fb0yv719tP54f77qPN/fp02nbdr67+vJlKeL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jsdsshee3Aevs6SfwLA6I8YfwFAXyFvH+w7GrWXfH7Z3b1R4ez7vDPqxgkVuIW/Fphsdrp5HSlEntZXj2jxbwwMm10lLp+pcqKA4KNHXe6kqc+67/O6KAwhw4VENc8tUCSNXBZBkER7y+uKiGvaco5+t+E1umwWlhIS2v84EW67hoElPQ+TCp1YOzF28RXzRpcX2fD0zJjksQz3aqgV70V2Vg2DMPOdOvbS1u2T3eeR1AtjgYFfKwQyKowVuiCGRIAjU4vA+MyRBJxTr3fFybl8Kv78MVhHUQCz33DWCo4kC9Wp9Lxd3R015Oz7gGEp3+yb3If1r6BYfi3nhDQhapy/5b29B4kNs23lHEzab/Qiq8ccelzrA5FimA4buC0QrAXuuHoPxlARhWdOWzjT8D0/5mhxbJii/re1KlBxc72HG+vbl63D1uuznvWr15++ef/wuXVeoNH/UAAA=="; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA81dbZMbN47+L5qvylgE+9XfNsndZa+yt1uVbL5MuVzyjGwrnpFmJU2yTir//Ypks0WgAb605Nx92Z1YJB6QAAHwIbv798Vh/+tx8fru98Wn7e5h8RqWi936abN4vdjuHjb/XiwXL4fHxevF0/7h5XFzfGX/9fbj6elxsVzcP66Px81x8Xqx+GM5lfBufdwcX5n/VauJIPvjW/djVJ7GAgNRv6wP2/W7iTBR5nLxvD5sdieqWkL3JqZ7U6R7E9e9uRVl8ro3MayX5+fNIQ/QNp2Fys0YRCYMSuYLotrDrSSQVRtSWtfN5mn/8zam/NCkaAxULDsULziBwg/MI8THp2Nm0UV20XHDaGcZViY7Ag0xrLQfj4BFfhxHfV4/5GE+rx+uhlgwVN/6Otgfg1Afhf3IRv95iAWj9a2vhp1tXtf2mrhlw76unX/Lw/1tFhobdWLZUxdlTx3PntolM1Ymr3ske+qM7DkCltknlT3rLjJjdVcyY3X37nQfHUPd3Y4Nc0dQdzHE94/b+0/xiRtBXdtZuNzMNVVk5pqqZOYCUdwImupWlMnq3lQxrFQwGuEKI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jPlPzz+HFdK3xUFiaycbdWS3N2/Lh+SzRQGh0d+bjkvUOPru6Nq8WLAlMPDyezGSlQn1S15CXHz7v76FoMU181Hhd43UVbn/Z0IxQuQVGd036yDQqn3buaGqOreBXjtGd2Q2Gu9INRPljBeInM08wwHgrBmPr8H34XqsXE6jU4rT/giiicCfEQ4rTHDJx501lQSElh47TH9JtCp6ztmEZ8aBKvDpwOa/NxqjW6/6DCuwMgZrbTYYNP6cLI5Rk8Je5kXnZSyq8DZxiTjScGtEh4vLhvzU3L3jCUjMciY2Ac3d2nYS3O1i/rxxc8ZHQ3bDwgkmbsl/Vhu8NJN2TzoB/LGql28V8SC5dO6O6e3lTjcZqnzmEMF2Pa9oWoHm9D+Dpdiw776/oRz27ISQFfc71ZLp63z5vH7W6zeH335o8//hcOvMNxCyEBAA=="; \ No newline at end of file diff --git a/assets/style.css b/assets/style.css index 108428c3..07a385b7 100644 --- a/assets/style.css +++ b/assets/style.css @@ -11,6 +11,7 @@ --light-color-text-aside: #6e6e6e; --light-color-link: #1f70c2; + --light-color-ts-keyword: #056bd6; --light-color-ts-project: #b111c9; --light-color-ts-module: var(--light-color-ts-project); --light-color-ts-namespace: var(--light-color-ts-project); @@ -50,6 +51,7 @@ --dark-color-text-aside: #dddddd; --dark-color-link: #00aff4; + --dark-color-ts-keyword: #3399ff; --dark-color-ts-project: #e358ff; --dark-color-ts-module: var(--dark-color-ts-project); --dark-color-ts-namespace: var(--dark-color-ts-project); @@ -91,6 +93,7 @@ --color-text-aside: var(--light-color-text-aside); --color-link: var(--light-color-link); + --color-ts-keyword: var(--light-color-ts-keyword); --color-ts-module: var(--light-color-ts-module); --color-ts-namespace: var(--light-color-ts-namespace); --color-ts-enum: var(--light-color-ts-enum); @@ -132,6 +135,7 @@ --color-text-aside: var(--dark-color-text-aside); --color-link: var(--dark-color-link); + --color-ts-keyword: var(--dark-color-ts-keyword); --color-ts-module: var(--dark-color-ts-module); --color-ts-namespace: var(--dark-color-ts-namespace); --color-ts-enum: var(--dark-color-ts-enum); @@ -180,6 +184,7 @@ body { --color-text-aside: var(--light-color-text-aside); --color-link: var(--light-color-link); + --color-ts-keyword: var(--light-color-ts-keyword); --color-ts-module: var(--light-color-ts-module); --color-ts-namespace: var(--light-color-ts-namespace); --color-ts-enum: var(--light-color-ts-enum); @@ -219,6 +224,7 @@ body { --color-text-aside: var(--dark-color-text-aside); --color-link: var(--dark-color-link); + --color-ts-keyword: var(--dark-color-ts-keyword); --color-ts-module: var(--dark-color-ts-module); --color-ts-namespace: var(--dark-color-ts-namespace); --color-ts-enum: var(--dark-color-ts-enum); @@ -984,6 +990,11 @@ a.tsd-index-link { overflow-x: auto; } +.tsd-signature-keyword { + color: var(--color-ts-keyword); + font-weight: normal; +} + .tsd-signature-symbol { color: var(--color-text-aside); font-weight: normal; diff --git a/classes/block.Block.html b/classes/block.Block.html index fcde9864..b980458f 100644 --- a/classes/block.Block.html +++ b/classes/block.Block.html @@ -1,8 +1,8 @@ -Block | multiformats

Class Block<T, C, A, V>

Implements

Type Parameters

  • T

    Logical type of the data encoded in the block

    -
  • C

    multicodec code corresponding to codec used to encode the block

    -
  • A

    multicodec code corresponding to the hashing algorithm used in CID creation.

    -
  • V

    CID version

    -

Hierarchy

  • Block

Constructors

constructor +Block | multiformats - v12.1.3

Class Block<T, C, A, V>

Type Parameters

  • T

    Logical type of the data encoded in the block

    +
  • C extends number

    multicodec code corresponding to codec used to encode the block

    +
  • A extends number

    multicodec code corresponding to the hashing algorithm used in CID creation.

    +
  • V extends Version

    CID version

    +

Implements

Constructors

Properties

asBlock bytes cid @@ -10,4 +10,4 @@

Methods

Constructors

  • Type Parameters

    • T extends unknown

    • C extends number

    • A extends number

    • V extends Version

    Parameters

    • options: {
          bytes: ByteView<T>;
          cid: CID<T, C, A, V>;
          value: T;
      }

    Returns Block<T, C, A, V>

Properties

asBlock: Block<T, C, A, V>
bytes: ByteView<T>
cid: CID<T, C, A, V>
value: {}

Type declaration

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    • Type Parameters

      • T

      • C extends number

      • A extends number

      • V extends Version

      Parameters

      • __namedParameters: {
            bytes: ByteView<T>;
            cid: CID<T, C, A, V>;
            value: T;
        }

      Returns Block<T, C, A, V>

    Properties

    asBlock: Block<T, C, A, V>
    bytes: ByteView<T>
    cid: CID<T, C, A, V>
    value: T

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/cid.CID.html b/classes/cid.CID.html index 5577c084..c57e6bca 100644 --- a/classes/cid.CID.html +++ b/classes/cid.CID.html @@ -1,11 +1,16 @@ -CID | multiformats

    Class CID<Data, Format, Alg, Version>

    Implements

    Type Parameters

    • Data = unknown

    • Format = number

    • Alg = number

    • Version = Version

    Hierarchy

    • CID

    Constructors

    constructor +CID | multiformats - v12.1.3

    Class CID<Data, Format, Alg, Version>

    Represents an IPLD link to a specific data of type T.

    +

    Template: T

    Logical type of the data being linked to.

    +

    Template: C

    multicodec code corresponding to a codec linked data is encoded with

    +

    Template: A

    multicodec code corresponding to the hashing algorithm of the CID

    +

    Type Parameters

    • Data = unknown

    • Format extends number = number

    • Alg extends number = number

    • Version extends Version = Version

      CID version

      +

    Implements

    • Link<Data, Format, Alg, Version>

    Constructors

    Properties

    Accessors

    Accessors

    Methods

    equals @@ -23,44 +28,43 @@ equals inspectBytes parse -

    Constructors

    • Type Parameters

      • Data extends unknown = unknown

      • Format extends number = number

      • Alg extends number = number

      • Version extends Version = Version

      Parameters

      • version: Version

        Version of the CID

        +

    Constructors

    Properties

    bytes: Uint8Array
    code: Format
    multihash: MultihashDigest<Alg>
    version: Version

    Accessors

    • get asCID(): this
    • Signalling cid.asCID === cid has been replaced with cid['/'] === cid.bytes +

    • multihash: MultihashDigest<Alg>

      (Multi)hash of the of the content.

      +
    • bytes: Uint8Array

    Returns CID<Data, Format, Alg, Version>

    Properties

    [toStringTag]: "CID" = 'CID'
    bytes: Uint8Array
    code: Format
    multihash: MultihashDigest<Alg>
    version: Version

    Accessors

    • get asCID(): this
    • Signalling cid.asCID === cid has been replaced with cid['/'] === cid.bytes please either use CID.asCID(cid) or switch to new signalling mechanism

      -

      Returns this

      Deprecated

    Methods

    • Parameters

      • other: unknown

      Returns other is CID<Data, Format, Alg, Version>

    • Returns CID<Data, Format, Alg, Version>

    • Takes any input value and returns a CID instance if it was +

      Returns this

      Deprecated

    Methods

    • Parameters

      • other: unknown

      Returns other is CID<Data, Format, Alg, Version>

    • Takes any input value and returns a CID instance if it was a CID otherwise returns null. If value is instanceof CID it will return value back. If value is not instance of this CID class, but is compatible CID it will return new instance of this CID class. Otherwise returns null.

      This allows two different incompatible versions of CID library to co-exist and interop as long as binary interface is compatible.

      -

      Type Parameters

      • Data extends unknown

      • Format extends number

      • Alg extends number

      • Version extends Version

      • U extends unknown

      Parameters

      • input: U | Link<Data, Format, Alg, Version>

      Returns null | CID<Data, Format, Alg, Version>

    • Type Parameters

      • Data extends unknown

      • Format extends number

      • Alg extends number

      • Version extends Version

      Parameters

      • version: Version

        Version of the CID

        +

        Type Parameters

        • Data

        • Format extends number

        • Alg extends number

        • Version extends Version

        • U

        Parameters

        • input: U | Link<Data, Format, Alg, Version>

        Returns null | CID<Data, Format, Alg, Version>

    • Simplified version of create for CIDv0.

      -

      Type Parameters

      • T extends unknown = unknown

      Parameters

      Returns CID<T, 112, 18, 0>

    • Simplified version of create for CIDv1.

      -

      Type Parameters

      • Data extends unknown

      • Code extends number

      • Alg extends number

      Parameters

      • code: Code

        Content encoding format code.

        -
      • digest: MultihashDigest<Alg>

        Miltihash of the content.

        -

      Returns CID<Data, Code, Alg, 1>

    • Decoded a CID from its binary representation. The byte array must contain +

    • digest: MultihashDigest<Alg>

      (Multi)hash of the of the content.

      +

    Returns CID<Data, Format, Alg, Version>

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns CID<Data, Code, Alg, Version>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/hashes_digest.Digest.html b/classes/hashes_digest.Digest.html index 61487807..6d4eaeec 100644 --- a/classes/hashes_digest.Digest.html +++ b/classes/hashes_digest.Digest.html @@ -1,9 +1,13 @@ -Digest | multiformats

    Class Digest<Code, Size>

    Represents a multihash digest which carries information about the +Digest | multiformats - v12.1.3

    Class Digest<Code, Size>

    Represents a multihash digest which carries information about the hashing algorithm and an actual hash digest.

    -

    Implements

    Type Parameters

    • Code

    • Size

    Hierarchy

    • Digest

    Constructors

    Type Parameters

    • Code extends number

    • Size extends number

    Implements

    Constructors

    Properties

    Constructors

    • Creates a multihash digest.

      -

      Type Parameters

      • Code extends number

      • Size extends number

      Parameters

      Returns Digest<Code, Size>

    Properties

    bytes: Uint8Array
    code: Code
    digest: Uint8Array
    size: Size

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    • Creates a multihash digest.

      +

      Type Parameters

      • Code extends number

      • Size extends number

      Parameters

      Returns Digest<Code, Size>

    Properties

    bytes: Uint8Array

    Binary representation of this multihash digest.

    +
    code: Code

    Code of the multihash

    +
    digest: Uint8Array

    Raw digest (without a hashing algorithm info)

    +
    size: Size

    byte length of the this.digest

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/hashes_hasher.Hasher.html b/classes/hashes_hasher.Hasher.html index 4ea85427..3d8a72be 100644 --- a/classes/hashes_hasher.Hasher.html +++ b/classes/hashes_hasher.Hasher.html @@ -1,8 +1,14 @@ -Hasher | multiformats

    Class Hasher<Name, Code>

    Hasher represents a hashing algorithm implementation that produces as +Hasher | multiformats - v12.1.3

    Class Hasher<Name, Code>

    Hasher represents a hashing algorithm implementation that produces as MultihashDigest.

    -

    Implements

    Type Parameters

    • Name

    • Code

    Hierarchy

    • Hasher

    Constructors

    Type Parameters

    • Name extends string

    • Code extends number

    Implements

    Constructors

    Properties

    Methods

    Constructors

    Properties

    code: Code
    encode: ((input) => Await<Uint8Array>)

    Type declaration

    name: Name

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    code: Code

    Code of the multihash

    +
    encode: ((input) => Await<Uint8Array>)

    Type declaration

    name: Name

    Name of the multihash

    +

    Methods

    • Takes binary input and returns it (multi) hash digest. Return value is +either promise of a digest or a digest. This way general use can await +while performance critical code may asses return value to decide whether +await is needed.

      +

      Parameters

      Returns Await<Digest<Code, number>>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/block.create.html b/functions/block.create.html index f3abcc9f..dc08f0a7 100644 --- a/functions/block.create.html +++ b/functions/block.create.html @@ -1,5 +1,5 @@ -create | multiformats

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/block.createUnsafe.html b/functions/block.createUnsafe.html index aedf985e..c20bfecf 100644 --- a/functions/block.createUnsafe.html +++ b/functions/block.createUnsafe.html @@ -1,5 +1,5 @@ -createUnsafe | multiformats

    Function createUnsafe

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/block.decode.html b/functions/block.decode.html index 8a9d9546..fd45c85b 100644 --- a/functions/block.decode.html +++ b/functions/block.decode.html @@ -1,4 +1,4 @@ -decode | multiformats

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/block.encode.html b/functions/block.encode.html index 54a4cd30..44a6d638 100644 --- a/functions/block.encode.html +++ b/functions/block.encode.html @@ -1,4 +1,4 @@ -encode | multiformats

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/bytes.coerce.html b/functions/bytes.coerce.html index 83da129f..269affa6 100644 --- a/functions/bytes.coerce.html +++ b/functions/bytes.coerce.html @@ -1 +1 @@ -coerce | multiformats

    Generated using TypeDoc

    \ No newline at end of file +coerce | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/bytes.equals.html b/functions/bytes.equals.html index f644d2e8..94544bcf 100644 --- a/functions/bytes.equals.html +++ b/functions/bytes.equals.html @@ -1 +1 @@ -equals | multiformats

    Generated using TypeDoc

    \ No newline at end of file +equals | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/bytes.fromHex.html b/functions/bytes.fromHex.html index 72b22a2f..a62233ce 100644 --- a/functions/bytes.fromHex.html +++ b/functions/bytes.fromHex.html @@ -1 +1 @@ -fromHex | multiformats

    Function fromHex

    Generated using TypeDoc

    \ No newline at end of file +fromHex | multiformats - v12.1.3

    Function fromHex

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/bytes.fromString.html b/functions/bytes.fromString.html index de8537fd..36607630 100644 --- a/functions/bytes.fromString.html +++ b/functions/bytes.fromString.html @@ -1 +1 @@ -fromString | multiformats

    Function fromString

    Generated using TypeDoc

    \ No newline at end of file +fromString | multiformats - v12.1.3

    Function fromString

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/bytes.isBinary.html b/functions/bytes.isBinary.html index 9f7360ea..d95f37be 100644 --- a/functions/bytes.isBinary.html +++ b/functions/bytes.isBinary.html @@ -1 +1 @@ -isBinary | multiformats

    Function isBinary

    Generated using TypeDoc

    \ No newline at end of file +isBinary | multiformats - v12.1.3

    Function isBinary

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/bytes.toHex.html b/functions/bytes.toHex.html index d01868c3..92c0aa87 100644 --- a/functions/bytes.toHex.html +++ b/functions/bytes.toHex.html @@ -1 +1 @@ -toHex | multiformats

    Generated using TypeDoc

    \ No newline at end of file +toHex | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/bytes.toString.html b/functions/bytes.toString.html index da55e364..6f93bb24 100644 --- a/functions/bytes.toString.html +++ b/functions/bytes.toString.html @@ -1 +1 @@ -toString | multiformats

    Function toString

    Generated using TypeDoc

    \ No newline at end of file +toString | multiformats - v12.1.3

    Function toString

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/cid.format.html b/functions/cid.format.html index 6cde4629..a70b0f4c 100644 --- a/functions/cid.format.html +++ b/functions/cid.format.html @@ -1 +1 @@ -format | multiformats

    Function format

    Generated using TypeDoc

    \ No newline at end of file +format | multiformats - v12.1.3

    Function format

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/cid.fromJSON.html b/functions/cid.fromJSON.html index 72ad96db..9bd175ea 100644 --- a/functions/cid.fromJSON.html +++ b/functions/cid.fromJSON.html @@ -1 +1 @@ -fromJSON | multiformats

    Function fromJSON

    Generated using TypeDoc

    \ No newline at end of file +fromJSON | multiformats - v12.1.3

    Function fromJSON

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/cid.toJSON.html b/functions/cid.toJSON.html index cdf1da19..f6ae245e 100644 --- a/functions/cid.toJSON.html +++ b/functions/cid.toJSON.html @@ -1 +1 @@ -toJSON | multiformats

    Function toJSON

    Generated using TypeDoc

    \ No newline at end of file +toJSON | multiformats - v12.1.3

    Function toJSON

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/codecs_json.decode.html b/functions/codecs_json.decode.html index 653d709c..579cccc2 100644 --- a/functions/codecs_json.decode.html +++ b/functions/codecs_json.decode.html @@ -1 +1 @@ -decode | multiformats

    Generated using TypeDoc

    \ No newline at end of file +decode | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/codecs_json.encode.html b/functions/codecs_json.encode.html index 2c250d32..f1c9dbb6 100644 --- a/functions/codecs_json.encode.html +++ b/functions/codecs_json.encode.html @@ -1 +1 @@ -encode | multiformats

    Generated using TypeDoc

    \ No newline at end of file +encode | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/codecs_raw.decode.html b/functions/codecs_raw.decode.html index 84f268ad..85b43826 100644 --- a/functions/codecs_raw.decode.html +++ b/functions/codecs_raw.decode.html @@ -1 +1 @@ -decode | multiformats

    Generated using TypeDoc

    \ No newline at end of file +decode | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/codecs_raw.encode.html b/functions/codecs_raw.encode.html index e174c28d..62b35aab 100644 --- a/functions/codecs_raw.encode.html +++ b/functions/codecs_raw.encode.html @@ -1 +1 @@ -encode | multiformats

    Generated using TypeDoc

    \ No newline at end of file +encode | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/hashes_digest.create.html b/functions/hashes_digest.create.html index b0c48bbd..d7106347 100644 --- a/functions/hashes_digest.create.html +++ b/functions/hashes_digest.create.html @@ -1,2 +1,2 @@ -create | multiformats

    Generated using TypeDoc

    \ No newline at end of file +create | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/hashes_digest.decode.html b/functions/hashes_digest.decode.html index f3defa0a..fa4b0371 100644 --- a/functions/hashes_digest.decode.html +++ b/functions/hashes_digest.decode.html @@ -1,2 +1,2 @@ -decode | multiformats

    Generated using TypeDoc

    \ No newline at end of file +decode | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/hashes_digest.equals.html b/functions/hashes_digest.equals.html index fd9c90da..4b4829b5 100644 --- a/functions/hashes_digest.equals.html +++ b/functions/hashes_digest.equals.html @@ -1 +1 @@ -equals | multiformats

    Generated using TypeDoc

    \ No newline at end of file +equals | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/hashes_hasher.from.html b/functions/hashes_hasher.from.html index 39172967..ee8b86dd 100644 --- a/functions/hashes_hasher.from.html +++ b/functions/hashes_hasher.from.html @@ -1 +1 @@ -from | multiformats

    Generated using TypeDoc

    \ No newline at end of file +from | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/index.varint.decode.html b/functions/index.varint.decode.html index d4187fba..b4062f97 100644 --- a/functions/index.varint.decode.html +++ b/functions/index.varint.decode.html @@ -1 +1 @@ -decode | multiformats
    • Parameters

      Returns [number, number]

    Generated using TypeDoc

    \ No newline at end of file +decode | multiformats - v12.1.3
    • Parameters

      Returns [number, number]

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/index.varint.encodeTo.html b/functions/index.varint.encodeTo.html index a58b6c7e..9078fa47 100644 --- a/functions/index.varint.encodeTo.html +++ b/functions/index.varint.encodeTo.html @@ -1 +1 @@ -encodeTo | multiformats

    Generated using TypeDoc

    \ No newline at end of file +encodeTo | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/index.varint.encodingLength.html b/functions/index.varint.encodingLength.html index 1628ae1a..d96435dc 100644 --- a/functions/index.varint.encodingLength.html +++ b/functions/index.varint.encodingLength.html @@ -1 +1 @@ -encodingLength | multiformats
    • Parameters

      • int: number

      Returns number

    Generated using TypeDoc

    \ No newline at end of file +encodingLength | multiformats - v12.1.3
    • Parameters

      • int: number

      Returns number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/link.create.html b/functions/link.create.html index a045193d..27f90550 100644 --- a/functions/link.create.html +++ b/functions/link.create.html @@ -1,4 +1,4 @@ -create | multiformats

    Function create

    • Simplified version of create for CIDv1.

      -

      Type Parameters

      • Data extends unknown

      • Code extends number

      • Alg extends number

      Parameters

      • code: Code

        Content encoding format code.

        -
      • digest: MultihashDigest<Alg>

        Miltihash of the content.

        -

      Returns Link<Data, Code, Alg, 1>

    Generated using TypeDoc

    \ No newline at end of file +create | multiformats - v12.1.3

    Function create

    • Simplified version of create for CIDv1.

      +

      Type Parameters

      • Data

      • Code extends number

      • Alg extends number

      Parameters

      • code: Code

        Content encoding format code.

        +
      • digest: MultihashDigest<Alg>

        Miltihash of the content.

        +

      Returns Link<Data, Code, Alg>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/link.createLegacy.html b/functions/link.createLegacy.html index ebd78388..62c958bb 100644 --- a/functions/link.createLegacy.html +++ b/functions/link.createLegacy.html @@ -1,3 +1,2 @@ -createLegacy | multiformats

    Function createLegacy

    Generated using TypeDoc

    \ No newline at end of file +createLegacy | multiformats - v12.1.3

    Function createLegacy

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/link.decode.html b/functions/link.decode.html index 00230297..9f54b046 100644 --- a/functions/link.decode.html +++ b/functions/link.decode.html @@ -1,5 +1,5 @@ -decode | multiformats

    Function decode

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/link.isLink.html b/functions/link.isLink.html index c08eeb1b..1175f10a 100644 --- a/functions/link.isLink.html +++ b/functions/link.isLink.html @@ -1,2 +1,2 @@ -isLink | multiformats

    Function isLink

    • Type predicate returns true if value is the link.

      -

      Type Parameters

      • L extends Link<unknown, number, number, 0 | 1>

      Parameters

      • value: unknown

      Returns value is L & CID<any, number, number, Version>

    Generated using TypeDoc

    \ No newline at end of file +isLink | multiformats - v12.1.3

    Function isLink

    • Type predicate returns true if value is the link.

      +

      Type Parameters

      • L extends Link<unknown, number, number, 0 | 1>

      Parameters

      • value: unknown

      Returns value is L & CID<unknown, number, number, Version>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/link.parse.html b/functions/link.parse.html index 59ed6ced..57b2439a 100644 --- a/functions/link.parse.html +++ b/functions/link.parse.html @@ -1,5 +1,5 @@ -parse | multiformats

    Function parse

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/traversal.walk.html b/functions/traversal.walk.html index 81c84f05..ef3b0937 100644 --- a/functions/traversal.walk.html +++ b/functions/traversal.walk.html @@ -1 +1 @@ -walk | multiformats

    Generated using TypeDoc

    \ No newline at end of file +walk | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/index.html b/index.html index c7f9adb9..44c3257f 100644 --- a/index.html +++ b/index.html @@ -1,72 +1,43 @@ -multiformats

    multiformats

    multiformats

    multiformats.io +multiformats - v12.1.3

    multiformats - v12.1.3

    multiformats.io codecov CI

    Interface for multihash, multicodec, multibase and CID

    -

    Table of contents

    -

    Install

    $ npm i multiformats
    -
    -

    Browser <script> tag

    Loading this module through a script tag will make it's exports available as Multiformats in the global namespace.

    -
    <script src="https://unpkg.com/multiformats/dist/index.min.js"></script>
    -
    -

    Interfaces

    This library defines common interfaces and low level building blocks for various interrelated multiformat technologies (multicodec, multihash, multibase, and CID). They can be used to implement custom base encoders / decoders / codecs, codec encoders /decoders and multihash hashers that comply to the interface that layers above assume.

    +

    About

    This library defines common interfaces and low level building blocks for various interrelated multiformat technologies (multicodec, multihash, multibase, and CID). They can be used to implement custom base encoders / decoders / codecs, codec encoders /decoders and multihash hashers that comply to the interface that layers above assume.

    This library provides implementations for most basics and many others can be found in linked repositories.

    -
    import { CID } from 'multiformats/cid'
    import * as json from 'multiformats/codecs/json'
    import { sha256 } from 'multiformats/hashes/sha2'

    const bytes = json.encode({ hello: 'world' })

    const hash = await sha256.digest(bytes)
    const cid = CID.create(1, json.code, hash)
    //> CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea) +
    import { CID } from 'multiformats/cid'
    import * as json from 'multiformats/codecs/json'
    import { sha256 } from 'multiformats/hashes/sha2'

    const bytes = json.encode({ hello: 'world' })

    const hash = await sha256.digest(bytes)
    const cid = CID.create(1, json.code, hash)
    //> CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea)
    -

    Creating Blocks

    import * as Block from 'multiformats/block'
    import * as codec from '@ipld/dag-cbor'
    import { sha256 as hasher } from 'multiformats/hashes/sha2'

    const value = { hello: 'world' }

    // encode a block
    let block = await Block.encode({ value, codec, hasher })

    block.value // { hello: 'world' }
    block.bytes // Uint8Array
    block.cid // CID() w/ sha2-256 hash address and dag-cbor codec

    // you can also decode blocks from their binary state
    block = await Block.decode({ bytes: block.bytes, codec, hasher })

    // if you have the cid you can also verify the hash on decode
    block = await Block.create({ bytes: block.bytes, cid: block.cid, codec, hasher }) +

    Creating Blocks

    import * as Block from 'multiformats/block'
    import * as codec from '@ipld/dag-cbor'
    import { sha256 as hasher } from 'multiformats/hashes/sha2'

    const value = { hello: 'world' }

    // encode a block
    let block = await Block.encode({ value, codec, hasher })

    block.value // { hello: 'world' }
    block.bytes // Uint8Array
    block.cid // CID() w/ sha2-256 hash address and dag-cbor codec

    // you can also decode blocks from their binary state
    block = await Block.decode({ bytes: block.bytes, codec, hasher })

    // if you have the cid you can also verify the hash on decode
    block = await Block.create({ bytes: block.bytes, cid: block.cid, codec, hasher })
    -

    Multibase Encoders / Decoders / Codecs

    CIDs can be serialized to string representation using multibase encoders that implement MultibaseEncoder interface. This library provides quite a few implementations that can be imported:

    -
    import { base64 } from "multiformats/bases/base64"
    cid.toString(base64.encoder)
    //> 'mAYAEEiCTojlxqRTl6svwqNJRVM2jCcPBxy+7mRTUfGDzy2gViA' +

    Multibase Encoders / Decoders / Codecs

    CIDs can be serialized to string representation using multibase encoders that implement MultibaseEncoder interface. This library provides quite a few implementations that can be imported:

    +
    import { base64 } from "multiformats/bases/base64"
    cid.toString(base64.encoder)
    //> 'mAYAEEiCTojlxqRTl6svwqNJRVM2jCcPBxy+7mRTUfGDzy2gViA'

    Parsing CID string serialized CIDs requires multibase decoder that implements MultibaseDecoder interface. This library provides a decoder for every encoder it provides:

    -
    CID.parse('mAYAEEiCTojlxqRTl6svwqNJRVM2jCcPBxy+7mRTUfGDzy2gViA', base64.decoder)
    //> CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea) +
    CID.parse('mAYAEEiCTojlxqRTl6svwqNJRVM2jCcPBxy+7mRTUfGDzy2gViA', base64.decoder)
    //> CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea)

    Dual of multibase encoder & decoder is defined as multibase codec and it exposes them as encoder and decoder properties. For added convenience codecs also implement MultibaseEncoder and MultibaseDecoder interfaces so they could be used as either or both:

    -
    cid.toString(base64)
    CID.parse(cid.toString(base64), base64) +
    cid.toString(base64)
    CID.parse(cid.toString(base64), base64)

    Note: CID implementation comes bundled with base32 and base58btc multibase codecs so that CIDs can be base serialized to (version specific) default base encoding and parsed without having to supply base encoders/decoders:

    -
    const v1 = CID.parse('bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea')
    v1.toString()
    //> 'bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea'

    const v0 = CID.parse('QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n')
    v0.toString()
    //> 'QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n'
    v0.toV1().toString()
    //> 'bafybeihdwdcefgh4dqkjv67uzcmw7ojee6xedzdetojuzjevtenxquvyku' +
    const v1 = CID.parse('bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea')
    v1.toString()
    //> 'bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea'

    const v0 = CID.parse('QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n')
    v0.toString()
    //> 'QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n'
    v0.toV1().toString()
    //> 'bafybeihdwdcefgh4dqkjv67uzcmw7ojee6xedzdetojuzjevtenxquvyku'
    -

    Multicodec Encoders / Decoders / Codecs

    This library defines BlockEncoder, BlockDecoder and BlockCodec interfaces. +

    Multicodec Encoders / Decoders / Codecs

    This library defines BlockEncoder, BlockDecoder and BlockCodec interfaces. Codec implementations should conform to the BlockCodec interface which implements both BlockEncoder and BlockDecoder. Here is an example implementation of JSON BlockCodec.

    -
    /**
    * @template T
    * @type {BlockCodec<0x0200, T>}
    */
    export const { name, code, encode, decode } = {
    name: 'json',
    code: 0x0200,
    encode: json => new TextEncoder().encode(JSON.stringify(json)),
    decode: bytes => JSON.parse(new TextDecoder().decode(bytes))
    } +
    export const { name, code, encode, decode } = {
    name: 'json',
    code: 0x0200,
    encode: json => new TextEncoder().encode(JSON.stringify(json)),
    decode: bytes => JSON.parse(new TextDecoder().decode(bytes))
    }
    -

    Multihash Hashers

    This library defines MultihashHasher and MultihashDigest interfaces and convinient function for implementing them:

    -
    import * as hasher from 'multiformats/hashes/hasher'

    const sha256 = hasher.from({
    // As per multiformats table
    // https://github.com/multiformats/multicodec/blob/master/table.csv#L9
    name: 'sha2-256',
    code: 0x12,

    encode: (input) => new Uint8Array(crypto.createHash('sha256').update(input).digest())
    })

    const hash = await sha256.digest(json.encode({ hello: 'world' }))
    CID.create(1, json.code, hash)

    //> CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea) +

    Multihash Hashers

    This library defines MultihashHasher and MultihashDigest interfaces and convinient function for implementing them:

    +
    import * as hasher from 'multiformats/hashes/hasher'

    const sha256 = hasher.from({
    // As per multiformats table
    // https://github.com/multiformats/multicodec/blob/master/table.csv#L9
    name: 'sha2-256',
    code: 0x12,

    encode: (input) => new Uint8Array(crypto.createHash('sha256').update(input).digest())
    })

    const hash = await sha256.digest(json.encode({ hello: 'world' }))
    CID.create(1, json.code, hash)

    //> CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea)
    -

    Traversal

    This library contains higher-order functions for traversing graphs of data easily.

    +

    Traversal

    This library contains higher-order functions for traversing graphs of data easily.

    walk() walks through the links in each block of a DAG calling a user-supplied loader function for each one, in depth-first order with no duplicate block visits. The loader should return a Block object and can be used to inspect and collect block ordering for a full DAG walk. The loader should throw on error, and return null if a block should be skipped by walk().

    -
    import { walk } from 'multiformats/traversal'
    import * as Block from 'multiformats/block'
    import * as codec from 'multiformats/codecs/json'
    import { sha256 as hasher } from 'multiformats/hashes/sha2'

    // build a DAG (a single block for this simple example)
    const value = { hello: 'world' }
    const block = await Block.encode({ value, codec, hasher })
    const { cid } = block
    console.log(cid)
    //> CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea)

    // create a loader function that also collects CIDs of blocks in
    // their traversal order
    const load = (cid, blocks) => async (cid) => {
    // fetch a block using its cid
    // e.g.: const block = await fetchBlockByCID(cid)
    blocks.push(cid)
    return block
    }

    // collect blocks in this DAG starting from the root `cid`
    const blocks = []
    await walk({ cid, load: load(cid, blocks) })

    console.log(blocks)
    //> [CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea)] +
    import { walk } from 'multiformats/traversal'
    import * as Block from 'multiformats/block'
    import * as codec from 'multiformats/codecs/json'
    import { sha256 as hasher } from 'multiformats/hashes/sha2'

    // build a DAG (a single block for this simple example)
    const value = { hello: 'world' }
    const block = await Block.encode({ value, codec, hasher })
    const { cid } = block
    console.log(cid)
    //> CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea)

    // create a loader function that also collects CIDs of blocks in
    // their traversal order
    const load = (cid, blocks) => async (cid) => {
    // fetch a block using its cid
    // e.g.: const block = await fetchBlockByCID(cid)
    blocks.push(cid)
    return block
    }

    // collect blocks in this DAG starting from the root `cid`
    const blocks = []
    await walk({ cid, load: load(cid, blocks) })

    console.log(blocks)
    //> [CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea)]

    Legacy interface

    blockcodec-to-ipld-format converts a multiformats BlockCodec into an interface-ipld-format for use with the ipld package. This can help bridge IPLD codecs implemented using the structure and interfaces defined here to existing code that assumes, or requires interface-ipld-format. This bridge also includes the relevant TypeScript definitions.

    @@ -176,13 +147,18 @@ ceramicnetwork/js-dag-jose -

    API Docs

    Generated using TypeDoc

    \ No newline at end of file +

    Contribution

    Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/bases_interface.BaseCodec.html b/interfaces/bases_interface.BaseCodec.html new file mode 100644 index 00000000..8b224043 --- /dev/null +++ b/interfaces/bases_interface.BaseCodec.html @@ -0,0 +1,4 @@ +BaseCodec | multiformats - v12.1.3

    Base codec is just dual of encoder and decoder.

    +
    interface BaseCodec {
        decoder: BaseDecoder;
        encoder: BaseEncoder;
    }

    Properties

    Properties

    decoder: BaseDecoder
    encoder: BaseEncoder

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/bases_interface.BaseDecoder.html b/interfaces/bases_interface.BaseDecoder.html new file mode 100644 index 00000000..03f27679 --- /dev/null +++ b/interfaces/bases_interface.BaseDecoder.html @@ -0,0 +1,5 @@ +BaseDecoder | multiformats - v12.1.3

    Base decoder decodes encoded with matching base encoding into bytes.

    +
    interface BaseDecoder {
        baseDecode(text): Uint8Array;
    }

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/block.RequiredCreateOptions.html b/interfaces/bases_interface.BaseEncoder.html similarity index 60% rename from interfaces/block.RequiredCreateOptions.html rename to interfaces/bases_interface.BaseEncoder.html index 8fba532f..1f7f5d4a 100644 --- a/interfaces/block.RequiredCreateOptions.html +++ b/interfaces/bases_interface.BaseEncoder.html @@ -1,2 +1,5 @@ -RequiredCreateOptions | multiformats

    Interface RequiredCreateOptions

    Hierarchy

    • RequiredCreateOptions

    Properties

    cid -

    Properties

    cid: CID<any, number, number, Version>

    Generated using TypeDoc

    \ No newline at end of file +BaseEncoder | multiformats - v12.1.3

    Base encoder just encodes bytes into base encoded string.

    +
    interface BaseEncoder {
        baseEncode(bytes): string;
    }

    Methods

    Methods

    • Base encodes to a plain (and not a multibase) string. Unlike +encode no multibase prefix is added.

      +

      Parameters

      Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/bases_interface.CombobaseDecoder.html b/interfaces/bases_interface.CombobaseDecoder.html new file mode 100644 index 00000000..b8f3c35e --- /dev/null +++ b/interfaces/bases_interface.CombobaseDecoder.html @@ -0,0 +1,9 @@ +CombobaseDecoder | multiformats - v12.1.3

    Interface CombobaseDecoder<Prefix>

    Interface implemented by multibase decoder, that takes multibase strings +to bytes. It may support single encoding like base32 or multiple encodings +like base32, base58btc, base64. If passed multibase is incompatible it will +throw an exception.

    +
    interface CombobaseDecoder {
        decoders: Record<Prefix, UnibaseDecoder<Prefix>>;
        decode(multibase): Uint8Array;
    }

    Type Parameters

    • Prefix extends string

    Hierarchy

    Properties

    Methods

    Properties

    decoders: Record<Prefix, UnibaseDecoder<Prefix>>

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/bases_interface.MultibaseCodec.html b/interfaces/bases_interface.MultibaseCodec.html new file mode 100644 index 00000000..ac5419b4 --- /dev/null +++ b/interfaces/bases_interface.MultibaseCodec.html @@ -0,0 +1,6 @@ +MultibaseCodec | multiformats - v12.1.3

    Interface MultibaseCodec<Prefix>

    Dual of multibase encoder and decoder.

    +
    interface MultibaseCodec {
        decoder: MultibaseDecoder<Prefix>;
        encoder: MultibaseEncoder<Prefix>;
        name: string;
        prefix: Prefix;
    }

    Type Parameters

    • Prefix extends string

    Properties

    Properties

    decoder: MultibaseDecoder<Prefix>
    encoder: MultibaseEncoder<Prefix>
    name: string
    prefix: Prefix

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.BaseEncoder.html b/interfaces/bases_interface.MultibaseDecoder.html similarity index 53% rename from interfaces/index.BaseEncoder.html rename to interfaces/bases_interface.MultibaseDecoder.html index a198a4e0..85cd8f3a 100644 --- a/interfaces/index.BaseEncoder.html +++ b/interfaces/bases_interface.MultibaseDecoder.html @@ -1,5 +1,8 @@ -BaseEncoder | multiformats

    Interface BaseEncoder

    Base encoder just encodes bytes into base encoded string.

    -

    Hierarchy

    • BaseEncoder

    Methods

    Methods

    • Base encodes to a plain (and not a multibase) string. Unlike -encode no multibase prefix is added.

      -

      Parameters

      Returns string

    Generated using TypeDoc

    \ No newline at end of file +MultibaseDecoder | multiformats - v12.1.3

    Interface MultibaseDecoder<Prefix>

    Interface implemented by multibase decoder, that takes multibase strings +to bytes. It may support single encoding like base32 or multiple encodings +like base32, base58btc, base64. If passed multibase is incompatible it will +throw an exception.

    +
    interface MultibaseDecoder {
        decode(multibase): Uint8Array;
    }

    Type Parameters

    • Prefix extends string

    Hierarchy

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/bases_interface.MultibaseEncoder.html b/interfaces/bases_interface.MultibaseEncoder.html new file mode 100644 index 00000000..6698f792 --- /dev/null +++ b/interfaces/bases_interface.MultibaseEncoder.html @@ -0,0 +1,10 @@ +MultibaseEncoder | multiformats - v12.1.3

    Interface MultibaseEncoder<Prefix>

    Multibase encoder for the specific base encoding encodes bytes into +multibase of that encoding.

    +
    interface MultibaseEncoder {
        name: string;
        prefix: Prefix;
        encode(bytes): Multibase<Prefix>;
    }

    Type Parameters

    • Prefix extends string

    Properties

    Methods

    Properties

    name: string

    Name of the encoding.

    +
    prefix: Prefix

    Prefix character for that base encoding.

    +

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/bases_interface.UnibaseDecoder.html b/interfaces/bases_interface.UnibaseDecoder.html new file mode 100644 index 00000000..d2717490 --- /dev/null +++ b/interfaces/bases_interface.UnibaseDecoder.html @@ -0,0 +1,10 @@ +UnibaseDecoder | multiformats - v12.1.3

    Interface UnibaseDecoder<Prefix>

    Interface implemented by multibase decoder, that takes multibase strings +to bytes. It may support single encoding like base32 or multiple encodings +like base32, base58btc, base64. If passed multibase is incompatible it will +throw an exception.

    +
    interface UnibaseDecoder {
        decoders?: null;
        prefix: Prefix;
        decode(multibase): Uint8Array;
    }

    Type Parameters

    • Prefix extends string

    Hierarchy

    Properties

    Methods

    Properties

    decoders?: null
    prefix: Prefix

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/block_interface.Block.html b/interfaces/block_interface.Block.html new file mode 100644 index 00000000..55281487 --- /dev/null +++ b/interfaces/block_interface.Block.html @@ -0,0 +1,9 @@ +Block | multiformats - v12.1.3

    Interface Block<T, C, A, V>

    Represents an IPLD block (including its CID) that can be decoded to data of +type T.

    +
    interface Block {
        bytes: ByteView<T>;
        cid: Link<T, C, A, V>;
    }

    Type Parameters

    • T = unknown

      Logical type of the data encoded in the block

      +
    • C extends number = number

      multicodec code corresponding to codec used to encode the block

      +
    • A extends number = number

      multicodec code corresponding to the hashing algorithm used in CID creation.

      +
    • V extends Version = 1

      CID version

      +

    Hierarchy

    Properties

    Properties

    bytes: ByteView<T>
    cid: Link<T, C, A, V>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/block_interface.BlockView.html b/interfaces/block_interface.BlockView.html new file mode 100644 index 00000000..bbb01a58 --- /dev/null +++ b/interfaces/block_interface.BlockView.html @@ -0,0 +1,13 @@ +BlockView | multiformats - v12.1.3

    Interface BlockView<T, C, A, V>

    Represents an IPLD block (including its CID) that can be decoded to data of +type T.

    +
    interface BlockView {
        bytes: ByteView<T>;
        cid: CID<T, C, A, V>;
        value: T;
        get(path): BlockCursorView<unknown>;
        links(): Iterable<[string, CID<unknown, number, number, Version>]>;
        tree(): Iterable<string>;
    }

    Type Parameters

    • T = unknown

      Logical type of the data encoded in the block

      +
    • C extends number = number

      multicodec code corresponding to codec used to encode the block

      +
    • A extends number = number

      multicodec code corresponding to the hashing algorithm used in CID creation.

      +
    • V extends Version = 1

      CID version

      +

    Hierarchy

    • Block<T, C, A, V>
      • BlockView

    Implemented by

    Properties

    Methods

    Properties

    bytes: ByteView<T>
    cid: CID<T, C, A, V>
    value: T

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/block_interface.ByteView.html b/interfaces/block_interface.ByteView.html new file mode 100644 index 00000000..d56f92dd --- /dev/null +++ b/interfaces/block_interface.ByteView.html @@ -0,0 +1,166 @@ +ByteView | multiformats - v12.1.3

    Interface ByteView<Data>

    A byte-encoded representation of some type of Data.

    +

    A ByteView is essentially a Uint8Array that's been "tagged" with +a Data type parameter indicating the type of encoded data.

    +

    For example, a ByteView<{ hello: "world" }> is a Uint8Array containing a +binary representation of a {hello: "world"}.

    +
    interface ByteView {
        BYTES_PER_ELEMENT: number;
        [Marker]?: Data;
        [toStringTag]: "Uint8Array";
        buffer: ArrayBufferLike;
        byteLength: number;
        byteOffset: number;
        length: number;
        [iterator](): IterableIterator<number>;
        at(index): undefined | number;
        copyWithin(target, start, end?): ByteView<Data>;
        entries(): IterableIterator<[number, number]>;
        every(predicate, thisArg?): boolean;
        fill(value, start?, end?): ByteView<Data>;
        filter(predicate, thisArg?): Uint8Array;
        find(predicate, thisArg?): undefined | number;
        findIndex(predicate, thisArg?): number;
        forEach(callbackfn, thisArg?): void;
        includes(searchElement, fromIndex?): boolean;
        indexOf(searchElement, fromIndex?): number;
        join(separator?): string;
        keys(): IterableIterator<number>;
        lastIndexOf(searchElement, fromIndex?): number;
        map(callbackfn, thisArg?): Uint8Array;
        reduce(callbackfn): number;
        reduce(callbackfn, initialValue): number;
        reduce<U>(callbackfn, initialValue): U;
        reduceRight(callbackfn): number;
        reduceRight(callbackfn, initialValue): number;
        reduceRight<U>(callbackfn, initialValue): U;
        reverse(): Uint8Array;
        set(array, offset?): void;
        slice(start?, end?): Uint8Array;
        some(predicate, thisArg?): boolean;
        sort(compareFn?): ByteView<Data>;
        subarray(begin?, end?): Uint8Array;
        toLocaleString(): string;
        toString(): string;
        valueOf(): Uint8Array;
        values(): IterableIterator<number>;
    }

    Type Parameters

    • Data

    Hierarchy

    Properties

    BYTES_PER_ELEMENT: number

    The size in bytes of each element in the array.

    +
    [Marker]?: Data
    [toStringTag]: "Uint8Array"
    buffer: ArrayBufferLike

    The ArrayBuffer instance referenced by the array.

    +
    byteLength: number

    The length in bytes of the array.

    +
    byteOffset: number

    The offset in bytes of the array.

    +
    length: number

    The length of the array.

    +

    Methods

    • Returns IterableIterator<number>

    • Returns the item located at the specified index.

      +

      Parameters

      • index: number

        The zero-based index of the desired code unit. A negative index will count back from the last item.

        +

      Returns undefined | number

    • Returns the this object after copying a section of the array identified by start and end +to the same array starting at position target

      +

      Parameters

      • target: number

        If target is negative, it is treated as length+target where length is the +length of the array.

        +
      • start: number

        If start is negative, it is treated as length+start. If end is negative, it +is treated as length+end.

        +
      • Optional end: number

        If not specified, length of the this object is used as its default value.

        +

      Returns ByteView<Data>

    • Returns an array of key, value pairs for every entry in the array

      +

      Returns IterableIterator<[number, number]>

    • Determines whether all the members of an array satisfy the specified test.

      +

      Parameters

      • predicate: ((value, index, array) => unknown)

        A function that accepts up to three arguments. The every method calls +the predicate function for each element in the array until the predicate returns a value +which is coercible to the Boolean value false, or until the end of the array.

        +
          • (value, index, array): unknown
          • Parameters

            Returns unknown

      • Optional thisArg: any

        An object to which the this keyword can refer in the predicate function. +If thisArg is omitted, undefined is used as the this value.

        +

      Returns boolean

    • Changes all array elements from start to end index to a static value and returns the modified array

      +

      Parameters

      • value: number

        value to fill array section with

        +
      • Optional start: number

        index to start filling the array at. If start is negative, it is treated as +length+start where length is the length of the array.

        +
      • Optional end: number

        index to stop filling the array at. If end is negative, it is treated as +length+end.

        +

      Returns ByteView<Data>

    • Returns the elements of an array that meet the condition specified in a callback function.

      +

      Parameters

      • predicate: ((value, index, array) => any)

        A function that accepts up to three arguments. The filter method calls +the predicate function one time for each element in the array.

        +
          • (value, index, array): any
          • Parameters

            Returns any

      • Optional thisArg: any

        An object to which the this keyword can refer in the predicate function. +If thisArg is omitted, undefined is used as the this value.

        +

      Returns Uint8Array

    • Returns the value of the first element in the array where predicate is true, and undefined +otherwise.

      +

      Parameters

      • predicate: ((value, index, obj) => boolean)

        find calls predicate once for each element of the array, in ascending +order, until it finds one where predicate returns true. If such an element is found, find +immediately returns that element value. Otherwise, find returns undefined.

        +
          • (value, index, obj): boolean
          • Parameters

            Returns boolean

      • Optional thisArg: any

        If provided, it will be used as the this value for each invocation of +predicate. If it is not provided, undefined is used instead.

        +

      Returns undefined | number

    • Returns the index of the first element in the array where predicate is true, and -1 +otherwise.

      +

      Parameters

      • predicate: ((value, index, obj) => boolean)

        find calls predicate once for each element of the array, in ascending +order, until it finds one where predicate returns true. If such an element is found, +findIndex immediately returns that element index. Otherwise, findIndex returns -1.

        +
          • (value, index, obj): boolean
          • Parameters

            Returns boolean

      • Optional thisArg: any

        If provided, it will be used as the this value for each invocation of +predicate. If it is not provided, undefined is used instead.

        +

      Returns number

    • Performs the specified action for each element in an array.

      +

      Parameters

      • callbackfn: ((value, index, array) => void)

        A function that accepts up to three arguments. forEach calls the +callbackfn function one time for each element in the array.

        +
          • (value, index, array): void
          • Parameters

            Returns void

      • Optional thisArg: any

        An object to which the this keyword can refer in the callbackfn function. +If thisArg is omitted, undefined is used as the this value.

        +

      Returns void

    • Determines whether an array includes a certain element, returning true or false as appropriate.

      +

      Parameters

      • searchElement: number

        The element to search for.

        +
      • Optional fromIndex: number

        The position in this array at which to begin searching for searchElement.

        +

      Returns boolean

    • Returns the index of the first occurrence of a value in an array.

      +

      Parameters

      • searchElement: number

        The value to locate in the array.

        +
      • Optional fromIndex: number

        The array index at which to begin the search. If fromIndex is omitted, the + search starts at index 0.

        +

      Returns number

    • Adds all the elements of an array separated by the specified separator string.

      +

      Parameters

      • Optional separator: string

        A string used to separate one element of an array from the next in the +resulting String. If omitted, the array elements are separated with a comma.

        +

      Returns string

    • Returns an list of keys in the array

      +

      Returns IterableIterator<number>

    • Returns the index of the last occurrence of a value in an array.

      +

      Parameters

      • searchElement: number

        The value to locate in the array.

        +
      • Optional fromIndex: number

        The array index at which to begin the search. If fromIndex is omitted, the +search starts at index 0.

        +

      Returns number

    • Calls a defined callback function on each element of an array, and returns an array that +contains the results.

      +

      Parameters

      • callbackfn: ((value, index, array) => number)

        A function that accepts up to three arguments. The map method calls the +callbackfn function one time for each element in the array.

        +
          • (value, index, array): number
          • Parameters

            Returns number

      • Optional thisArg: any

        An object to which the this keyword can refer in the callbackfn function. +If thisArg is omitted, undefined is used as the this value.

        +

      Returns Uint8Array

    • Calls the specified callback function for all the elements in an array. The return value of +the callback function is the accumulated result, and is provided as an argument in the next +call to the callback function.

      +

      Parameters

      • callbackfn: ((previousValue, currentValue, currentIndex, array) => number)

        A function that accepts up to four arguments. The reduce method calls the +callbackfn function one time for each element in the array.

        +
          • (previousValue, currentValue, currentIndex, array): number
          • Parameters

            • previousValue: number
            • currentValue: number
            • currentIndex: number
            • array: Uint8Array

            Returns number

      Returns number

    • Parameters

      • callbackfn: ((previousValue, currentValue, currentIndex, array) => number)
          • (previousValue, currentValue, currentIndex, array): number
          • Parameters

            • previousValue: number
            • currentValue: number
            • currentIndex: number
            • array: Uint8Array

            Returns number

      • initialValue: number

      Returns number

    • Calls the specified callback function for all the elements in an array. The return value of +the callback function is the accumulated result, and is provided as an argument in the next +call to the callback function.

      +

      Type Parameters

      • U

      Parameters

      • callbackfn: ((previousValue, currentValue, currentIndex, array) => U)

        A function that accepts up to four arguments. The reduce method calls the +callbackfn function one time for each element in the array.

        +
          • (previousValue, currentValue, currentIndex, array): U
          • Parameters

            • previousValue: U
            • currentValue: number
            • currentIndex: number
            • array: Uint8Array

            Returns U

      • initialValue: U

        If initialValue is specified, it is used as the initial value to start +the accumulation. The first call to the callbackfn function provides this value as an argument +instead of an array value.

        +

      Returns U

    • Calls the specified callback function for all the elements in an array, in descending order. +The return value of the callback function is the accumulated result, and is provided as an +argument in the next call to the callback function.

      +

      Parameters

      • callbackfn: ((previousValue, currentValue, currentIndex, array) => number)

        A function that accepts up to four arguments. The reduceRight method calls +the callbackfn function one time for each element in the array.

        +
          • (previousValue, currentValue, currentIndex, array): number
          • Parameters

            • previousValue: number
            • currentValue: number
            • currentIndex: number
            • array: Uint8Array

            Returns number

      Returns number

    • Parameters

      • callbackfn: ((previousValue, currentValue, currentIndex, array) => number)
          • (previousValue, currentValue, currentIndex, array): number
          • Parameters

            • previousValue: number
            • currentValue: number
            • currentIndex: number
            • array: Uint8Array

            Returns number

      • initialValue: number

      Returns number

    • Calls the specified callback function for all the elements in an array, in descending order. +The return value of the callback function is the accumulated result, and is provided as an +argument in the next call to the callback function.

      +

      Type Parameters

      • U

      Parameters

      • callbackfn: ((previousValue, currentValue, currentIndex, array) => U)

        A function that accepts up to four arguments. The reduceRight method calls +the callbackfn function one time for each element in the array.

        +
          • (previousValue, currentValue, currentIndex, array): U
          • Parameters

            • previousValue: U
            • currentValue: number
            • currentIndex: number
            • array: Uint8Array

            Returns U

      • initialValue: U

        If initialValue is specified, it is used as the initial value to start +the accumulation. The first call to the callbackfn function provides this value as an argument +instead of an array value.

        +

      Returns U

    • Reverses the elements in an Array.

      +

      Returns Uint8Array

    • Sets a value or an array of values.

      +

      Parameters

      • array: ArrayLike<number>

        A typed or untyped array of values to set.

        +
      • Optional offset: number

        The index in the current array at which the values are to be written.

        +

      Returns void

    • Returns a section of an array.

      +

      Parameters

      • Optional start: number

        The beginning of the specified portion of the array.

        +
      • Optional end: number

        The end of the specified portion of the array. This is exclusive of the element at the index 'end'.

        +

      Returns Uint8Array

    • Determines whether the specified callback function returns true for any element of an array.

      +

      Parameters

      • predicate: ((value, index, array) => unknown)

        A function that accepts up to three arguments. The some method calls +the predicate function for each element in the array until the predicate returns a value +which is coercible to the Boolean value true, or until the end of the array.

        +
          • (value, index, array): unknown
          • Parameters

            Returns unknown

      • Optional thisArg: any

        An object to which the this keyword can refer in the predicate function. +If thisArg is omitted, undefined is used as the this value.

        +

      Returns boolean

    • Sorts an array.

      +

      Parameters

      • Optional compareFn: ((a, b) => number)

        Function used to determine the order of the elements. It is expected to return +a negative value if first argument is less than second argument, zero if they're equal and a positive +value otherwise. If omitted, the elements are sorted in ascending order.

        +
        [11,2,22,1].sort((a, b) => a - b)
        +
        +
          • (a, b): number
          • Parameters

            • a: number
            • b: number

            Returns number

      Returns ByteView<Data>

    • Gets a new Uint8Array view of the ArrayBuffer store for this array, referencing the elements +at begin, inclusive, up to end, exclusive.

      +

      Parameters

      • Optional begin: number

        The index of the beginning of the array.

        +
      • Optional end: number

        The index of the end of the array.

        +

      Returns Uint8Array

    • Converts a number to a string by using the current locale.

      +

      Returns string

    • Returns a string representation of an array.

      +

      Returns string

    • Returns the primitive value of the specified object.

      +

      Returns Uint8Array

    • Returns an list of values in the array

      +

      Returns IterableIterator<number>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/block_interface.Phantom.html b/interfaces/block_interface.Phantom.html new file mode 100644 index 00000000..15f3184f --- /dev/null +++ b/interfaces/block_interface.Phantom.html @@ -0,0 +1,10 @@ +Phantom | multiformats - v12.1.3

    A utility type to retain an unused type parameter T. +Similar to phantom type parameters in Rust.

    +

    Capturing unused type parameters allows us to define "nominal types," which +TypeScript does not natively support. Nominal types in turn allow us to capture +semantics not represented in the actual type structure, without requiring us to define +new classes or pay additional runtime costs.

    +

    For a concrete example, see ByteView, which extends the Uint8Array type to capture +type information about the structure of the data encoded into the array.

    +
    interface Phantom {
        [Marker]?: T;
    }

    Type Parameters

    • T

    Hierarchy

    Properties

    Properties

    [Marker]?: T

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/codecs_interface.BlockCodec.html b/interfaces/codecs_interface.BlockCodec.html new file mode 100644 index 00000000..be2858bc --- /dev/null +++ b/interfaces/codecs_interface.BlockCodec.html @@ -0,0 +1,6 @@ +BlockCodec | multiformats - v12.1.3

    Interface BlockCodec<Code, T>

    An IPLD codec is a combination of both encoder and decoder.

    +
    interface BlockCodec {
        code: Code;
        name: string;
        decode(bytes): T;
        encode(data): ByteView<T>;
    }

    Type Parameters

    • Code extends number

    • T

    Hierarchy

    Properties

    Methods

    Properties

    code: Code
    name: string

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.BlockDecoder.html b/interfaces/codecs_interface.BlockDecoder.html similarity index 56% rename from interfaces/index.BlockDecoder.html rename to interfaces/codecs_interface.BlockDecoder.html index f628165c..443169e7 100644 --- a/interfaces/index.BlockDecoder.html +++ b/interfaces/codecs_interface.BlockDecoder.html @@ -1,4 +1,4 @@ -BlockDecoder | multiformats

    Interface BlockDecoder<Code, T>

    IPLD decoder part of the codec.

    -

    Type Parameters

    • Code extends number

    • T

    Hierarchy

    Properties

    Methods

    Properties

    code: Code

    Methods

    Generated using TypeDoc

    \ No newline at end of file +BlockDecoder | multiformats - v12.1.3

    Interface BlockDecoder<Code, T>

    IPLD decoder part of the codec.

    +
    interface BlockDecoder {
        code: Code;
        decode(bytes): T;
    }

    Type Parameters

    • Code extends number

    • T

    Hierarchy

    Properties

    Methods

    Properties

    code: Code

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/codecs_interface.BlockEncoder.html b/interfaces/codecs_interface.BlockEncoder.html new file mode 100644 index 00000000..c42e4682 --- /dev/null +++ b/interfaces/codecs_interface.BlockEncoder.html @@ -0,0 +1,5 @@ +BlockEncoder | multiformats - v12.1.3

    Interface BlockEncoder<Code, T>

    IPLD encoder part of the codec.

    +
    interface BlockEncoder {
        code: Code;
        name: string;
        encode(data): ByteView<T>;
    }

    Type Parameters

    • Code extends number

    • T

    Hierarchy

    Properties

    Methods

    Properties

    code: Code
    name: string

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/hashes_hasher.MultihashHasher.html b/interfaces/hashes_hasher.MultihashHasher.html deleted file mode 100644 index a7239d5c..00000000 --- a/interfaces/hashes_hasher.MultihashHasher.html +++ /dev/null @@ -1,12 +0,0 @@ -MultihashHasher | multiformats

    Interface MultihashHasher<Code>

    Hasher represents a hashing algorithm implementation that produces as -MultihashDigest.

    -

    Type Parameters

    • Code extends number = number

    Hierarchy

    Properties

    Methods

    Properties

    code: Code

    Code of the multihash

    -
    name: string

    Name of the multihash

    -

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/hashes_interface.MultihashDigest.html b/interfaces/hashes_interface.MultihashDigest.html new file mode 100644 index 00000000..2dda6454 --- /dev/null +++ b/interfaces/hashes_interface.MultihashDigest.html @@ -0,0 +1,11 @@ +MultihashDigest | multiformats - v12.1.3

    Interface MultihashDigest<Code>

    Represents a multihash digest which carries information about the +hashing algorithm and an actual hash digest.

    +
    interface MultihashDigest {
        bytes: Uint8Array;
        code: Code;
        digest: Uint8Array;
        size: number;
    }

    Type Parameters

    • Code extends number = number

    Implemented by

    Properties

    Properties

    bytes: Uint8Array

    Binary representation of this multihash digest.

    +
    code: Code

    Code of the multihash

    +
    digest: Uint8Array

    Raw digest (without a hashing algorithm info)

    +
    size: number

    byte length of the this.digest

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/hashes_interface.MultihashHasher.html b/interfaces/hashes_interface.MultihashHasher.html new file mode 100644 index 00000000..474878dd --- /dev/null +++ b/interfaces/hashes_interface.MultihashHasher.html @@ -0,0 +1,12 @@ +MultihashHasher | multiformats - v12.1.3

    Interface MultihashHasher<Code>

    Hasher represents a hashing algorithm implementation that produces as +MultihashDigest.

    +
    interface MultihashHasher {
        code: Code;
        name: string;
        digest(input): MultihashDigest<Code> | Promise<MultihashDigest<Code>>;
    }

    Type Parameters

    • Code extends number = number

    Hierarchy

    Implemented by

    Properties

    Methods

    Properties

    code: Code

    Code of the multihash

    +
    name: string

    Name of the multihash

    +

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/hashes_interface.SyncMultihashHasher.html b/interfaces/hashes_interface.SyncMultihashHasher.html new file mode 100644 index 00000000..2a6ea3fa --- /dev/null +++ b/interfaces/hashes_interface.SyncMultihashHasher.html @@ -0,0 +1,17 @@ +SyncMultihashHasher | multiformats - v12.1.3

    Interface SyncMultihashHasher<Code>

    Sync variant of MultihashHasher that refines return type of the digest +to MultihashDigest. It is subtype of MultihashHasher so implementations +of this interface can be passed anywhere MultihashHasher is expected, +allowing consumer to either await or check the return type to decide +whether to await or proceed with return value.

    +

    SyncMultihashHasher is useful in certain APIs where async hashing would be +impractical e.g. implementation of Hash Array Mapped Trie (HAMT).

    +
    interface SyncMultihashHasher {
        code: Code;
        name: string;
        digest(input): MultihashDigest<Code>;
    }

    Type Parameters

    • Code extends number = number

    Hierarchy

    Properties

    Methods

    Properties

    code: Code

    Code of the multihash

    +
    name: string

    Name of the multihash

    +

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.BaseCodec.html b/interfaces/index.BaseCodec.html deleted file mode 100644 index fecd3067..00000000 --- a/interfaces/index.BaseCodec.html +++ /dev/null @@ -1,4 +0,0 @@ -BaseCodec | multiformats

    Interface BaseCodec

    Base codec is just dual of encoder and decoder.

    -

    Hierarchy

    • BaseCodec

    Properties

    Properties

    decoder: BaseDecoder
    encoder: BaseEncoder

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.BaseDecoder.html b/interfaces/index.BaseDecoder.html deleted file mode 100644 index 775bfe23..00000000 --- a/interfaces/index.BaseDecoder.html +++ /dev/null @@ -1,5 +0,0 @@ -BaseDecoder | multiformats

    Interface BaseDecoder

    Base decoder decodes encoded with matching base encoding into bytes.

    -

    Hierarchy

    • BaseDecoder

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.Block.html b/interfaces/index.Block.html deleted file mode 100644 index f45e5d6c..00000000 --- a/interfaces/index.Block.html +++ /dev/null @@ -1,9 +0,0 @@ -Block | multiformats

    Interface Block<T, C, A, V>

    Represents an IPLD block (including its CID) that can be decoded to data of -type T.

    -

    Type Parameters

    • T = unknown

      Logical type of the data encoded in the block

      -
    • C extends number = number

      multicodec code corresponding to codec used to encode the block

      -
    • A extends number = number

      multicodec code corresponding to the hashing algorithm used in CID creation.

      -
    • V extends Version = 1

      CID version

      -

    Hierarchy

    Properties

    Properties

    bytes: ByteView<T>
    cid: Link<T, C, A, V>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.BlockCodec.html b/interfaces/index.BlockCodec.html deleted file mode 100644 index 9e26d7a3..00000000 --- a/interfaces/index.BlockCodec.html +++ /dev/null @@ -1,6 +0,0 @@ -BlockCodec | multiformats

    Interface BlockCodec<Code, T>

    An IPLD codec is a combination of both encoder and decoder.

    -

    Type Parameters

    • Code extends number

    • T

    Hierarchy

    Properties

    Methods

    Properties

    code: Code
    name: string

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.BlockEncoder.html b/interfaces/index.BlockEncoder.html deleted file mode 100644 index 1367b531..00000000 --- a/interfaces/index.BlockEncoder.html +++ /dev/null @@ -1,5 +0,0 @@ -BlockEncoder | multiformats

    Interface BlockEncoder<Code, T>

    IPLD encoder part of the codec.

    -

    Type Parameters

    • Code extends number

    • T

    Hierarchy

    Properties

    Methods

    Properties

    code: Code
    name: string

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.BlockView.html b/interfaces/index.BlockView.html deleted file mode 100644 index 6dbaf600..00000000 --- a/interfaces/index.BlockView.html +++ /dev/null @@ -1,13 +0,0 @@ -BlockView | multiformats

    Interface BlockView<T, C, A, V>

    Represents an IPLD block (including its CID) that can be decoded to data of -type T.

    -

    Type Parameters

    • T = unknown

      Logical type of the data encoded in the block

      -
    • C extends number = number

      multicodec code corresponding to codec used to encode the block

      -
    • A extends number = number

      multicodec code corresponding to the hashing algorithm used in CID creation.

      -
    • V extends Version = 1

      CID version

      -

    Hierarchy

    • Block<T, C, A, V>
      • BlockView

    Properties

    Methods

    Properties

    bytes: ByteView<T>
    cid: CID<T, C, A, V>
    value: T

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.ByteView.html b/interfaces/index.ByteView.html deleted file mode 100644 index 2903d8b4..00000000 --- a/interfaces/index.ByteView.html +++ /dev/null @@ -1,166 +0,0 @@ -ByteView | multiformats

    Interface ByteView<Data>

    A byte-encoded representation of some type of Data.

    -

    A ByteView is essentially a Uint8Array that's been "tagged" with -a Data type parameter indicating the type of encoded data.

    -

    For example, a ByteView<{ hello: "world" }> is a Uint8Array containing a -binary representation of a {hello: "world"}.

    -

    Type Parameters

    • Data

    Hierarchy

    Properties

    BYTES_PER_ELEMENT: number

    The size in bytes of each element in the array.

    -
    [Marker]?: Data
    [toStringTag]: "Uint8Array"
    buffer: ArrayBufferLike

    The ArrayBuffer instance referenced by the array.

    -
    byteLength: number

    The length in bytes of the array.

    -
    byteOffset: number

    The offset in bytes of the array.

    -
    length: number

    The length of the array.

    -

    Methods

    • Returns IterableIterator<number>

    • Returns the item located at the specified index.

      -

      Parameters

      • index: number

        The zero-based index of the desired code unit. A negative index will count back from the last item.

        -

      Returns undefined | number

    • Returns the this object after copying a section of the array identified by start and end -to the same array starting at position target

      -

      Parameters

      • target: number

        If target is negative, it is treated as length+target where length is the -length of the array.

        -
      • start: number

        If start is negative, it is treated as length+start. If end is negative, it -is treated as length+end.

        -
      • Optional end: number

        If not specified, length of the this object is used as its default value.

        -

      Returns ByteView<Data>

    • Returns an array of key, value pairs for every entry in the array

      -

      Returns IterableIterator<[number, number]>

    • Determines whether all the members of an array satisfy the specified test.

      -

      Parameters

      • predicate: ((value, index, array) => unknown)

        A function that accepts up to three arguments. The every method calls -the predicate function for each element in the array until the predicate returns a value -which is coercible to the Boolean value false, or until the end of the array.

        -
          • (value, index, array): unknown
          • Parameters

            Returns unknown

      • Optional thisArg: any

        An object to which the this keyword can refer in the predicate function. -If thisArg is omitted, undefined is used as the this value.

        -

      Returns boolean

    • Changes all array elements from start to end index to a static value and returns the modified array

      -

      Parameters

      • value: number

        value to fill array section with

        -
      • Optional start: number

        index to start filling the array at. If start is negative, it is treated as -length+start where length is the length of the array.

        -
      • Optional end: number

        index to stop filling the array at. If end is negative, it is treated as -length+end.

        -

      Returns ByteView<Data>

    • Returns the elements of an array that meet the condition specified in a callback function.

      -

      Parameters

      • predicate: ((value, index, array) => any)

        A function that accepts up to three arguments. The filter method calls -the predicate function one time for each element in the array.

        -
          • (value, index, array): any
          • Parameters

            Returns any

      • Optional thisArg: any

        An object to which the this keyword can refer in the predicate function. -If thisArg is omitted, undefined is used as the this value.

        -

      Returns Uint8Array

    • Returns the value of the first element in the array where predicate is true, and undefined -otherwise.

      -

      Parameters

      • predicate: ((value, index, obj) => boolean)

        find calls predicate once for each element of the array, in ascending -order, until it finds one where predicate returns true. If such an element is found, find -immediately returns that element value. Otherwise, find returns undefined.

        -
          • (value, index, obj): boolean
          • Parameters

            Returns boolean

      • Optional thisArg: any

        If provided, it will be used as the this value for each invocation of -predicate. If it is not provided, undefined is used instead.

        -

      Returns undefined | number

    • Returns the index of the first element in the array where predicate is true, and -1 -otherwise.

      -

      Parameters

      • predicate: ((value, index, obj) => boolean)

        find calls predicate once for each element of the array, in ascending -order, until it finds one where predicate returns true. If such an element is found, -findIndex immediately returns that element index. Otherwise, findIndex returns -1.

        -
          • (value, index, obj): boolean
          • Parameters

            Returns boolean

      • Optional thisArg: any

        If provided, it will be used as the this value for each invocation of -predicate. If it is not provided, undefined is used instead.

        -

      Returns number

    • Performs the specified action for each element in an array.

      -

      Parameters

      • callbackfn: ((value, index, array) => void)

        A function that accepts up to three arguments. forEach calls the -callbackfn function one time for each element in the array.

        -
          • (value, index, array): void
          • Parameters

            Returns void

      • Optional thisArg: any

        An object to which the this keyword can refer in the callbackfn function. -If thisArg is omitted, undefined is used as the this value.

        -

      Returns void

    • Determines whether an array includes a certain element, returning true or false as appropriate.

      -

      Parameters

      • searchElement: number

        The element to search for.

        -
      • Optional fromIndex: number

        The position in this array at which to begin searching for searchElement.

        -

      Returns boolean

    • Returns the index of the first occurrence of a value in an array.

      -

      Parameters

      • searchElement: number

        The value to locate in the array.

        -
      • Optional fromIndex: number

        The array index at which to begin the search. If fromIndex is omitted, the - search starts at index 0.

        -

      Returns number

    • Adds all the elements of an array separated by the specified separator string.

      -

      Parameters

      • Optional separator: string

        A string used to separate one element of an array from the next in the -resulting String. If omitted, the array elements are separated with a comma.

        -

      Returns string

    • Returns an list of keys in the array

      -

      Returns IterableIterator<number>

    • Returns the index of the last occurrence of a value in an array.

      -

      Parameters

      • searchElement: number

        The value to locate in the array.

        -
      • Optional fromIndex: number

        The array index at which to begin the search. If fromIndex is omitted, the -search starts at index 0.

        -

      Returns number

    • Calls a defined callback function on each element of an array, and returns an array that -contains the results.

      -

      Parameters

      • callbackfn: ((value, index, array) => number)

        A function that accepts up to three arguments. The map method calls the -callbackfn function one time for each element in the array.

        -
          • (value, index, array): number
          • Parameters

            Returns number

      • Optional thisArg: any

        An object to which the this keyword can refer in the callbackfn function. -If thisArg is omitted, undefined is used as the this value.

        -

      Returns Uint8Array

    • Calls the specified callback function for all the elements in an array. The return value of -the callback function is the accumulated result, and is provided as an argument in the next -call to the callback function.

      -

      Parameters

      • callbackfn: ((previousValue, currentValue, currentIndex, array) => number)

        A function that accepts up to four arguments. The reduce method calls the -callbackfn function one time for each element in the array.

        -
          • (previousValue, currentValue, currentIndex, array): number
          • Parameters

            • previousValue: number
            • currentValue: number
            • currentIndex: number
            • array: Uint8Array

            Returns number

      Returns number

    • Parameters

      • callbackfn: ((previousValue, currentValue, currentIndex, array) => number)
          • (previousValue, currentValue, currentIndex, array): number
          • Parameters

            • previousValue: number
            • currentValue: number
            • currentIndex: number
            • array: Uint8Array

            Returns number

      • initialValue: number

      Returns number

    • Calls the specified callback function for all the elements in an array. The return value of -the callback function is the accumulated result, and is provided as an argument in the next -call to the callback function.

      -

      Type Parameters

      • U

      Parameters

      • callbackfn: ((previousValue, currentValue, currentIndex, array) => U)

        A function that accepts up to four arguments. The reduce method calls the -callbackfn function one time for each element in the array.

        -
          • (previousValue, currentValue, currentIndex, array): U
          • Parameters

            • previousValue: U
            • currentValue: number
            • currentIndex: number
            • array: Uint8Array

            Returns U

      • initialValue: U

        If initialValue is specified, it is used as the initial value to start -the accumulation. The first call to the callbackfn function provides this value as an argument -instead of an array value.

        -

      Returns U

    • Calls the specified callback function for all the elements in an array, in descending order. -The return value of the callback function is the accumulated result, and is provided as an -argument in the next call to the callback function.

      -

      Parameters

      • callbackfn: ((previousValue, currentValue, currentIndex, array) => number)

        A function that accepts up to four arguments. The reduceRight method calls -the callbackfn function one time for each element in the array.

        -
          • (previousValue, currentValue, currentIndex, array): number
          • Parameters

            • previousValue: number
            • currentValue: number
            • currentIndex: number
            • array: Uint8Array

            Returns number

      Returns number

    • Parameters

      • callbackfn: ((previousValue, currentValue, currentIndex, array) => number)
          • (previousValue, currentValue, currentIndex, array): number
          • Parameters

            • previousValue: number
            • currentValue: number
            • currentIndex: number
            • array: Uint8Array

            Returns number

      • initialValue: number

      Returns number

    • Calls the specified callback function for all the elements in an array, in descending order. -The return value of the callback function is the accumulated result, and is provided as an -argument in the next call to the callback function.

      -

      Type Parameters

      • U

      Parameters

      • callbackfn: ((previousValue, currentValue, currentIndex, array) => U)

        A function that accepts up to four arguments. The reduceRight method calls -the callbackfn function one time for each element in the array.

        -
          • (previousValue, currentValue, currentIndex, array): U
          • Parameters

            • previousValue: U
            • currentValue: number
            • currentIndex: number
            • array: Uint8Array

            Returns U

      • initialValue: U

        If initialValue is specified, it is used as the initial value to start -the accumulation. The first call to the callbackfn function provides this value as an argument -instead of an array value.

        -

      Returns U

    • Reverses the elements in an Array.

      -

      Returns Uint8Array

    • Sets a value or an array of values.

      -

      Parameters

      • array: ArrayLike<number>

        A typed or untyped array of values to set.

        -
      • Optional offset: number

        The index in the current array at which the values are to be written.

        -

      Returns void

    • Returns a section of an array.

      -

      Parameters

      • Optional start: number

        The beginning of the specified portion of the array.

        -
      • Optional end: number

        The end of the specified portion of the array. This is exclusive of the element at the index 'end'.

        -

      Returns Uint8Array

    • Determines whether the specified callback function returns true for any element of an array.

      -

      Parameters

      • predicate: ((value, index, array) => unknown)

        A function that accepts up to three arguments. The some method calls -the predicate function for each element in the array until the predicate returns a value -which is coercible to the Boolean value true, or until the end of the array.

        -
          • (value, index, array): unknown
          • Parameters

            Returns unknown

      • Optional thisArg: any

        An object to which the this keyword can refer in the predicate function. -If thisArg is omitted, undefined is used as the this value.

        -

      Returns boolean

    • Sorts an array.

      -

      Parameters

      • Optional compareFn: ((a, b) => number)

        Function used to determine the order of the elements. It is expected to return -a negative value if first argument is less than second argument, zero if they're equal and a positive -value otherwise. If omitted, the elements are sorted in ascending order.

        -
        [11,2,22,1].sort((a, b) => a - b)
        -
        -
          • (a, b): number
          • Parameters

            • a: number
            • b: number

            Returns number

      Returns ByteView<Data>

    • Gets a new Uint8Array view of the ArrayBuffer store for this array, referencing the elements -at begin, inclusive, up to end, exclusive.

      -

      Parameters

      • Optional begin: number

        The index of the beginning of the array.

        -
      • Optional end: number

        The index of the end of the array.

        -

      Returns Uint8Array

    • Converts a number to a string by using the current locale.

      -

      Returns string

    • Returns a string representation of an array.

      -

      Returns string

    • Returns the primitive value of the specified object.

      -

      Returns Uint8Array

    • Returns an list of values in the array

      -

      Returns IterableIterator<number>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.CombobaseDecoder.html b/interfaces/index.CombobaseDecoder.html deleted file mode 100644 index f9ebea28..00000000 --- a/interfaces/index.CombobaseDecoder.html +++ /dev/null @@ -1,9 +0,0 @@ -CombobaseDecoder | multiformats

    Interface CombobaseDecoder<Prefix>

    Interface implemented by multibase decoder, that takes multibase strings -to bytes. It may support single encoding like base32 or multiple encodings -like base32, base58btc, base64. If passed multibase is incompatible it will -throw an exception.

    -

    Type Parameters

    • Prefix extends string

    Hierarchy

    Properties

    Methods

    Properties

    decoders: Record<Prefix, UnibaseDecoder<Prefix>>

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.LegacyLink.html b/interfaces/index.LegacyLink.html deleted file mode 100644 index c3da7926..00000000 --- a/interfaces/index.LegacyLink.html +++ /dev/null @@ -1,16 +0,0 @@ -LegacyLink | multiformats

    Interface LegacyLink<T>

    Represents an IPLD link to a specific data of type T.

    -

    Template

    Logical type of the data being linked to.

    -

    Template

    multicodec code corresponding to a codec linked data is encoded with

    -

    Template

    multicodec code corresponding to the hashing algorithm of the CID

    -

    Type Parameters

    • T extends unknown = unknown

    Hierarchy

    Properties

    [Marker]?: T
    byteLength: number
    byteOffset: number
    bytes: ByteView<Link<T, 112, 18, 0>>
    code: 112
    multihash: MultihashDigest<18>
    version: 0

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.Link.html b/interfaces/index.Link.html deleted file mode 100644 index d182627a..00000000 --- a/interfaces/index.Link.html +++ /dev/null @@ -1,17 +0,0 @@ -Link | multiformats

    Interface Link<Data, Format, Alg, V>

    Represents an IPLD link to a specific data of type T.

    -

    Template

    Logical type of the data being linked to.

    -

    Template

    multicodec code corresponding to a codec linked data is encoded with

    -

    Template

    multicodec code corresponding to the hashing algorithm of the CID

    -

    Type Parameters

    • Data extends unknown = unknown

    • Format extends number = number

    • Alg extends number = number

    • V extends Version = 1

      CID version

      -

    Hierarchy

    Properties

    [Marker]?: Data
    byteLength: number
    byteOffset: number
    bytes: ByteView<Link<Data, Format, Alg, V>>
    code: Format
    multihash: MultihashDigest<Alg>
    version: V

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.LinkJSON.html b/interfaces/index.LinkJSON.html deleted file mode 100644 index 37a21fd0..00000000 --- a/interfaces/index.LinkJSON.html +++ /dev/null @@ -1,2 +0,0 @@ -LinkJSON | multiformats

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.MultibaseCodec.html b/interfaces/index.MultibaseCodec.html deleted file mode 100644 index 2c799294..00000000 --- a/interfaces/index.MultibaseCodec.html +++ /dev/null @@ -1,6 +0,0 @@ -MultibaseCodec | multiformats

    Interface MultibaseCodec<Prefix>

    Dual of multibase encoder and decoder.

    -

    Type Parameters

    • Prefix extends string

    Hierarchy

    • MultibaseCodec

    Properties

    Properties

    decoder: MultibaseDecoder<Prefix>
    encoder: MultibaseEncoder<Prefix>
    name: string
    prefix: Prefix

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.MultibaseDecoder.html b/interfaces/index.MultibaseDecoder.html deleted file mode 100644 index 6228e3ed..00000000 --- a/interfaces/index.MultibaseDecoder.html +++ /dev/null @@ -1,8 +0,0 @@ -MultibaseDecoder | multiformats

    Interface MultibaseDecoder<Prefix>

    Interface implemented by multibase decoder, that takes multibase strings -to bytes. It may support single encoding like base32 or multiple encodings -like base32, base58btc, base64. If passed multibase is incompatible it will -throw an exception.

    -

    Type Parameters

    • Prefix extends string

    Hierarchy

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.MultibaseEncoder.html b/interfaces/index.MultibaseEncoder.html deleted file mode 100644 index e1bba9cd..00000000 --- a/interfaces/index.MultibaseEncoder.html +++ /dev/null @@ -1,10 +0,0 @@ -MultibaseEncoder | multiformats

    Interface MultibaseEncoder<Prefix>

    Multibase encoder for the specific base encoding encodes bytes into -multibase of that encoding.

    -

    Type Parameters

    • Prefix extends string

    Hierarchy

    • MultibaseEncoder

    Properties

    Methods

    Properties

    name: string

    Name of the encoding.

    -
    prefix: Prefix

    Prefix character for that base encoding.

    -

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.Phantom.html b/interfaces/index.Phantom.html deleted file mode 100644 index 46a01cfa..00000000 --- a/interfaces/index.Phantom.html +++ /dev/null @@ -1,10 +0,0 @@ -Phantom | multiformats

    Interface Phantom<T>

    A utility type to retain an unused type parameter T. -Similar to phantom type parameters in Rust.

    -

    Capturing unused type parameters allows us to define "nominal types," which -TypeScript does not natively support. Nominal types in turn allow us to capture -semantics not represented in the actual type structure, without requiring us to define -new classes or pay additional runtime costs.

    -

    For a concrete example, see ByteView, which extends the Uint8Array type to capture -type information about the structure of the data encoded into the array.

    -

    Type Parameters

    • T

    Hierarchy

    Properties

    Properties

    [Marker]?: T

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.SyncMultihashHasher.html b/interfaces/index.SyncMultihashHasher.html deleted file mode 100644 index 3e276068..00000000 --- a/interfaces/index.SyncMultihashHasher.html +++ /dev/null @@ -1,17 +0,0 @@ -SyncMultihashHasher | multiformats

    Interface SyncMultihashHasher<Code>

    Sync variant of MultihashHasher that refines return type of the digest -to MultihashDigest. It is subtype of MultihashHasher so implementations -of this interface can be passed anywhere MultihashHasher is expected, -allowing consumer to either await or check the return type to decide -whether to await or proceed with return value.

    -

    SyncMultihashHasher is useful in certain APIs where async hashing would be -impractical e.g. implementation of Hash Array Mapped Trie (HAMT).

    -

    Type Parameters

    • Code extends number = number

    Hierarchy

    Properties

    Methods

    Properties

    code: Code

    Code of the multihash

    -
    name: string

    Name of the multihash

    -

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.UnibaseDecoder.html b/interfaces/index.UnibaseDecoder.html deleted file mode 100644 index f37cd8d7..00000000 --- a/interfaces/index.UnibaseDecoder.html +++ /dev/null @@ -1,10 +0,0 @@ -UnibaseDecoder | multiformats

    Interface UnibaseDecoder<Prefix>

    Interface implemented by multibase decoder, that takes multibase strings -to bytes. It may support single encoding like base32 or multiple encodings -like base32, base58btc, base64. If passed multibase is incompatible it will -throw an exception.

    -

    Type Parameters

    • Prefix extends string

    Hierarchy

    Properties

    Methods

    Properties

    decoders?: null
    prefix: Prefix

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/link_interface.LegacyLink.html b/interfaces/link_interface.LegacyLink.html new file mode 100644 index 00000000..184f18c5 --- /dev/null +++ b/interfaces/link_interface.LegacyLink.html @@ -0,0 +1,16 @@ +LegacyLink | multiformats - v12.1.3

    Represents an IPLD link to a specific data of type T.

    +

    Template: T

    Logical type of the data being linked to.

    +

    Template: C

    multicodec code corresponding to a codec linked data is encoded with

    +

    Template: A

    multicodec code corresponding to the hashing algorithm of the CID

    +
    interface LegacyLink {
        [Marker]?: T;
        byteLength: number;
        byteOffset: number;
        bytes: ByteView<Link<T, 112, 18, 0>>;
        code: 112;
        multihash: MultihashDigest<18>;
        version: 0;
        equals(other): other is Link<T, 112, 18, Version>;
        link(): Link<T, 112, 18, 0>;
        toString<Prefix>(base?): ToString<Link<T, 112, 18, Version>, Prefix>;
        toV1(): Link<T, 112, 18, 1>;
    }

    Type Parameters

    • T extends unknown = unknown

    Hierarchy

    Properties

    [Marker]?: T
    byteLength: number
    byteOffset: number
    bytes: ByteView<Link<T, 112, 18, 0>>
    code: 112
    multihash: MultihashDigest<18>
    version: 0

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/link_interface.Link.html b/interfaces/link_interface.Link.html new file mode 100644 index 00000000..f3ac66de --- /dev/null +++ b/interfaces/link_interface.Link.html @@ -0,0 +1,17 @@ +Link | multiformats - v12.1.3

    Interface Link<Data, Format, Alg, V>

    Represents an IPLD link to a specific data of type T.

    +

    Template: T

    Logical type of the data being linked to.

    +

    Template: C

    multicodec code corresponding to a codec linked data is encoded with

    +

    Template: A

    multicodec code corresponding to the hashing algorithm of the CID

    +
    interface Link {
        [Marker]?: Data;
        byteLength: number;
        byteOffset: number;
        bytes: ByteView<Link<Data, Format, Alg, V>>;
        code: Format;
        multihash: MultihashDigest<Alg>;
        version: V;
        equals(other): other is Link<Data, Format, Alg, Version>;
        link(): Link<Data, Format, Alg, V>;
        toString<Prefix>(base?): ToString<Link<Data, Format, Alg, Version>, Prefix>;
        toV1(): Link<Data, Format, Alg, 1>;
    }

    Type Parameters

    • Data extends unknown = unknown

    • Format extends number = number

    • Alg extends number = number

    • V extends Version = 1

      CID version

      +

    Hierarchy

    Implemented by

    Properties

    [Marker]?: Data
    byteLength: number
    byteOffset: number
    bytes: ByteView<Link<Data, Format, Alg, V>>
    code: Format
    multihash: MultihashDigest<Alg>
    version: V

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/link_interface.LinkJSON.html b/interfaces/link_interface.LinkJSON.html new file mode 100644 index 00000000..5afb8471 --- /dev/null +++ b/interfaces/link_interface.LinkJSON.html @@ -0,0 +1,2 @@ +LinkJSON | multiformats - v12.1.3
    interface LinkJSON {
        /: ToString<T, string>;
    }

    Type Parameters

    Properties

    / +

    Properties

    /: ToString<T, string>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/bases_base10.html b/modules/bases_base10.html index 9cb94109..bd7eaefe 100644 --- a/modules/bases_base10.html +++ b/modules/bases_base10.html @@ -1,2 +1,2 @@ -bases/base10 | multiformats

    Generated using TypeDoc

    \ No newline at end of file +bases/base10 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/bases_base16.html b/modules/bases_base16.html index f2ff0e59..49b3fa19 100644 --- a/modules/bases_base16.html +++ b/modules/bases_base16.html @@ -1,3 +1,3 @@ -bases/base16 | multiformats

    Module bases/base16

    Index

    Variables

    base16 +bases/base16 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/bases_base2.html b/modules/bases_base2.html index e54c77b8..ba9f9645 100644 --- a/modules/bases_base2.html +++ b/modules/bases_base2.html @@ -1,2 +1,2 @@ -bases/base2 | multiformats

    Generated using TypeDoc

    \ No newline at end of file +bases/base2 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/bases_base256emoji.html b/modules/bases_base256emoji.html index cde111d3..2dc672ea 100644 --- a/modules/bases_base256emoji.html +++ b/modules/bases_base256emoji.html @@ -1,2 +1,2 @@ -bases/base256emoji | multiformats

    Generated using TypeDoc

    \ No newline at end of file +bases/base256emoji | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/bases_base32.html b/modules/bases_base32.html index 04a38b03..0f4cee0a 100644 --- a/modules/bases_base32.html +++ b/modules/bases_base32.html @@ -1,4 +1,4 @@ -bases/base32 | multiformats

    Module bases/base32

    Index

    Variables

    base32 +bases/base32 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/bases_base36.html b/modules/bases_base36.html index 68250740..2b845d72 100644 --- a/modules/bases_base36.html +++ b/modules/bases_base36.html @@ -1,3 +1,3 @@ -bases/base36 | multiformats

    Module bases/base36

    Index

    Variables

    base36 +bases/base36 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/bases_base58.html b/modules/bases_base58.html index 7ad83c34..c1e4cacd 100644 --- a/modules/bases_base58.html +++ b/modules/bases_base58.html @@ -1,3 +1,3 @@ -bases/base58 | multiformats

    Module bases/base58

    Index

    Variables

    base58btc +bases/base58 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/bases_base64.html b/modules/bases_base64.html index 0434afd9..2a1a7ce3 100644 --- a/modules/bases_base64.html +++ b/modules/bases_base64.html @@ -1,5 +1,5 @@ -bases/base64 | multiformats

    Module bases/base64

    Index

    Variables

    base64 +bases/base64 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/bases_base8.html b/modules/bases_base8.html index e93d8f2a..d50d47b9 100644 --- a/modules/bases_base8.html +++ b/modules/bases_base8.html @@ -1,2 +1,2 @@ -bases/base8 | multiformats

    Generated using TypeDoc

    \ No newline at end of file +bases/base8 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/bases_identity.html b/modules/bases_identity.html index a16ef213..44fd3ba2 100644 --- a/modules/bases_identity.html +++ b/modules/bases_identity.html @@ -1,2 +1,2 @@ -bases/identity | multiformats

    Generated using TypeDoc

    \ No newline at end of file +bases/identity | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/bases_interface.html b/modules/bases_interface.html new file mode 100644 index 00000000..450a7972 --- /dev/null +++ b/modules/bases_interface.html @@ -0,0 +1,10 @@ +bases/interface | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/basics.html b/modules/basics.html index 93b94dd7..40b2d4bc 100644 --- a/modules/basics.html +++ b/modules/basics.html @@ -1,4 +1,4 @@ -basics | multiformats

    Module basics

    References

    CID +basics | multiformats - v12.1.3

    Module basics

    References

    CID bytes digest hasher @@ -6,4 +6,4 @@

    Variables

    References

    Re-exports CID
    Re-exports bytes
    Renames and re-exports hashes/digest
    Renames and re-exports hashes/hasher
    Re-exports varint

    Generated using TypeDoc

    \ No newline at end of file +

    References

    Re-exports CID
    Re-exports bytes
    Renames and re-exports hashes/digest
    Renames and re-exports hashes/hasher
    Re-exports varint

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/block.html b/modules/block.html index 23644c2e..a63437c7 100644 --- a/modules/block.html +++ b/modules/block.html @@ -1,7 +1,6 @@ -block | multiformats

    Module block

    Index

    Classes

    Interfaces

    RequiredCreateOptions +block | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/block_interface.html b/modules/block_interface.html new file mode 100644 index 00000000..1d925aff --- /dev/null +++ b/modules/block_interface.html @@ -0,0 +1,6 @@ +block/interface | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/bytes.html b/modules/bytes.html index 03a245e1..9aa1462e 100644 --- a/modules/bytes.html +++ b/modules/bytes.html @@ -1,4 +1,4 @@ -bytes | multiformats

    Module bytes

    Index

    Variables

    empty +bytes | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/cid.html b/modules/cid.html index fecfed75..1a7aa577 100644 --- a/modules/cid.html +++ b/modules/cid.html @@ -1,4 +1,4 @@ -cid | multiformats

    Module cid

    References

    ByteView +cid | multiformats - v12.1.3

    Module cid

    References

    ByteView DAG_PB LegacyLink Link @@ -14,4 +14,4 @@

    Functions

    References

    Re-exports ByteView
    Re-exports DAG_PB
    Re-exports LegacyLink
    Re-exports Link
    Re-exports LinkJSON
    Re-exports MultibaseDecoder
    Re-exports MultibaseEncoder
    Re-exports MultihashDigest
    Re-exports SHA_256
    Re-exports ToString
    Re-exports UnknownLink
    Re-exports Version

    Generated using TypeDoc

    \ No newline at end of file +

    References

    Re-exports ByteView
    Re-exports DAG_PB
    Re-exports LegacyLink
    Re-exports Link
    Re-exports LinkJSON
    Re-exports MultibaseDecoder
    Re-exports MultibaseEncoder
    Re-exports MultihashDigest
    Re-exports SHA_256
    Re-exports ToString
    Re-exports UnknownLink
    Re-exports Version

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/codecs_interface.html b/modules/codecs_interface.html new file mode 100644 index 00000000..0044f223 --- /dev/null +++ b/modules/codecs_interface.html @@ -0,0 +1,5 @@ +codecs/interface | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/codecs_json.html b/modules/codecs_json.html index 7e009ee6..276c96fb 100644 --- a/modules/codecs_json.html +++ b/modules/codecs_json.html @@ -1,6 +1,5 @@ -codecs/json | multiformats

    Module codecs/json

    Index

    Type Aliases

    Variables

    code +codecs/json | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/codecs_raw.html b/modules/codecs_raw.html index 647d6c3f..d2ba3940 100644 --- a/modules/codecs_raw.html +++ b/modules/codecs_raw.html @@ -1,6 +1,5 @@ -codecs/raw | multiformats

    Module codecs/raw

    Index

    Type Aliases

    Variables

    code +codecs/raw | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/hashes_digest.html b/modules/hashes_digest.html index daa72766..943ae325 100644 --- a/modules/hashes_digest.html +++ b/modules/hashes_digest.html @@ -1,6 +1,5 @@ -hashes/digest | multiformats

    Module hashes/digest

    Index

    Classes

    Type Aliases

    MultihashDigest +hashes/digest | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/hashes_hasher.html b/modules/hashes_hasher.html index d28d185f..77746533 100644 --- a/modules/hashes_hasher.html +++ b/modules/hashes_hasher.html @@ -1,5 +1,3 @@ -hashes/hasher | multiformats

    Module hashes/hasher

    Index

    Classes

    Interfaces

    Type Aliases

    Await +hashes/hasher | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/hashes_identity.html b/modules/hashes_identity.html index 71b96b8e..64b77516 100644 --- a/modules/hashes_identity.html +++ b/modules/hashes_identity.html @@ -1,2 +1,2 @@ -hashes/identity | multiformats

    Generated using TypeDoc

    \ No newline at end of file +hashes/identity | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/index.MultihashDigest.html b/modules/hashes_interface.html similarity index 50% rename from interfaces/index.MultihashDigest.html rename to modules/hashes_interface.html index 9bc44104..984a49f3 100644 --- a/interfaces/index.MultihashDigest.html +++ b/modules/hashes_interface.html @@ -1,11 +1,4 @@ -MultihashDigest | multiformats

    Interface MultihashDigest<Code>

    Represents a multihash digest which carries information about the -hashing algorithm and an actual hash digest.

    -

    Type Parameters

    • Code extends number = number

    Hierarchy

    • MultihashDigest

    Properties

    Properties

    bytes: Uint8Array

    Binary representation of this multihash digest.

    -
    code: Code

    Code of the multihash

    -
    digest: Uint8Array

    Raw digest (without a hashing algorithm info)

    -
    size: number

    byte length of the this.digest

    -

    Generated using TypeDoc

    \ No newline at end of file +hashes/interface | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/hashes_sha1.html b/modules/hashes_sha1.html index 2f95cdeb..03e30a5e 100644 --- a/modules/hashes_sha1.html +++ b/modules/hashes_sha1.html @@ -1,2 +1,2 @@ -hashes/sha1 | multiformats

    Generated using TypeDoc

    \ No newline at end of file +hashes/sha1 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/hashes_sha2.html b/modules/hashes_sha2.html index cc6b5dee..5b787a65 100644 --- a/modules/hashes_sha2.html +++ b/modules/hashes_sha2.html @@ -1,3 +1,3 @@ -hashes/sha2 | multiformats

    Module hashes/sha2

    Index

    Variables

    sha256 +hashes/sha2 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/index.html b/modules/index.html index e07cf441..886ee058 100644 --- a/modules/index.html +++ b/modules/index.html @@ -1,34 +1,177 @@ -index | multiformats

    Module index

    References

    CID +index | multiformats - v12.1.3

    Module index

    This library defines common interfaces and low level building blocks for various interrelated multiformat technologies (multicodec, multihash, multibase, and CID). They can be used to implement custom base encoders / decoders / codecs, codec encoders /decoders and multihash hashers that comply to the interface that layers above assume.

    +

    This library provides implementations for most basics and many others can be found in linked repositories.

    +
    import { CID } from 'multiformats/cid'
    import * as json from 'multiformats/codecs/json'
    import { sha256 } from 'multiformats/hashes/sha2'

    const bytes = json.encode({ hello: 'world' })

    const hash = await sha256.digest(bytes)
    const cid = CID.create(1, json.code, hash)
    //> CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea) +
    +

    Creating Blocks

    import * as Block from 'multiformats/block'
    import * as codec from '@ipld/dag-cbor'
    import { sha256 as hasher } from 'multiformats/hashes/sha2'

    const value = { hello: 'world' }

    // encode a block
    let block = await Block.encode({ value, codec, hasher })

    block.value // { hello: 'world' }
    block.bytes // Uint8Array
    block.cid // CID() w/ sha2-256 hash address and dag-cbor codec

    // you can also decode blocks from their binary state
    block = await Block.decode({ bytes: block.bytes, codec, hasher })

    // if you have the cid you can also verify the hash on decode
    block = await Block.create({ bytes: block.bytes, cid: block.cid, codec, hasher }) +
    +

    Multibase Encoders / Decoders / Codecs

    CIDs can be serialized to string representation using multibase encoders that implement MultibaseEncoder interface. This library provides quite a few implementations that can be imported:

    +
    import { base64 } from "multiformats/bases/base64"
    cid.toString(base64.encoder)
    //> 'mAYAEEiCTojlxqRTl6svwqNJRVM2jCcPBxy+7mRTUfGDzy2gViA' +
    +

    Parsing CID string serialized CIDs requires multibase decoder that implements MultibaseDecoder interface. This library provides a decoder for every encoder it provides:

    +
    CID.parse('mAYAEEiCTojlxqRTl6svwqNJRVM2jCcPBxy+7mRTUfGDzy2gViA', base64.decoder)
    //> CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea) +
    +

    Dual of multibase encoder & decoder is defined as multibase codec and it exposes +them as encoder and decoder properties. For added convenience codecs also +implement MultibaseEncoder and MultibaseDecoder interfaces so they could be +used as either or both:

    +
    cid.toString(base64)
    CID.parse(cid.toString(base64), base64) +
    +

    Note: CID implementation comes bundled with base32 and base58btc +multibase codecs so that CIDs can be base serialized to (version specific) +default base encoding and parsed without having to supply base encoders/decoders:

    +
    const v1 = CID.parse('bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea')
    v1.toString()
    //> 'bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea'

    const v0 = CID.parse('QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n')
    v0.toString()
    //> 'QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n'
    v0.toV1().toString()
    //> 'bafybeihdwdcefgh4dqkjv67uzcmw7ojee6xedzdetojuzjevtenxquvyku' +
    +

    Multicodec Encoders / Decoders / Codecs

    This library defines BlockEncoder, BlockDecoder and BlockCodec interfaces. +Codec implementations should conform to the BlockCodec interface which implements both BlockEncoder and BlockDecoder. +Here is an example implementation of JSON BlockCodec.

    +
    export const { name, code, encode, decode } = {
    name: 'json',
    code: 0x0200,
    encode: json => new TextEncoder().encode(JSON.stringify(json)),
    decode: bytes => JSON.parse(new TextDecoder().decode(bytes))
    } +
    +

    Multihash Hashers

    This library defines MultihashHasher and MultihashDigest interfaces and convinient function for implementing them:

    +
    import * as hasher from 'multiformats/hashes/hasher'

    const sha256 = hasher.from({
    // As per multiformats table
    // https://github.com/multiformats/multicodec/blob/master/table.csv#L9
    name: 'sha2-256',
    code: 0x12,

    encode: (input) => new Uint8Array(crypto.createHash('sha256').update(input).digest())
    })

    const hash = await sha256.digest(json.encode({ hello: 'world' }))
    CID.create(1, json.code, hash)

    //> CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea) +
    +

    Traversal

    This library contains higher-order functions for traversing graphs of data easily.

    +

    walk() walks through the links in each block of a DAG calling a user-supplied loader function for each one, in depth-first order with no duplicate block visits. The loader should return a Block object and can be used to inspect and collect block ordering for a full DAG walk. The loader should throw on error, and return null if a block should be skipped by walk().

    +
    import { walk } from 'multiformats/traversal'
    import * as Block from 'multiformats/block'
    import * as codec from 'multiformats/codecs/json'
    import { sha256 as hasher } from 'multiformats/hashes/sha2'

    // build a DAG (a single block for this simple example)
    const value = { hello: 'world' }
    const block = await Block.encode({ value, codec, hasher })
    const { cid } = block
    console.log(cid)
    //> CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea)

    // create a loader function that also collects CIDs of blocks in
    // their traversal order
    const load = (cid, blocks) => async (cid) => {
    // fetch a block using its cid
    // e.g.: const block = await fetchBlockByCID(cid)
    blocks.push(cid)
    return block
    }

    // collect blocks in this DAG starting from the root `cid`
    const blocks = []
    await walk({ cid, load: load(cid, blocks) })

    console.log(blocks)
    //> [CID(bagaaierasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea)] +
    +

    Legacy interface

    blockcodec-to-ipld-format converts a multiformats BlockCodec into an +interface-ipld-format for use with the ipld package. This can help bridge IPLD codecs implemented using the structure and interfaces defined here to existing code that assumes, or requires interface-ipld-format. This bridge also includes the relevant TypeScript definitions.

    +

    Implementations

    By default, no base encodings (other than base32 & base58btc), hash functions, +or codec implementations are exposed by multiformats, you need to +import the ones you need yourself.

    +

    Multibase codecs

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    basesimportrepo
    base16multiformats/bases/base16multiformats/js-multiformats
    base32, base32pad, base32hex, base32hexpad, base32zmultiformats/bases/base32multiformats/js-multiformats
    base64, base64pad, base64url, base64urlpadmultiformats/bases/base64multiformats/js-multiformats
    base58btc, base58flick4multiformats/bases/base58multiformats/js-multiformats
    +

    Other (less useful) bases implemented in multiformats/js-multiformats include: base2, base8, base10, base36 and base256emoji.

    +

    Multihash hashers

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    hashesimportrepo
    sha2-256, sha2-512multiformats/hashes/sha2multiformats/js-multiformats
    sha3-224, sha3-256, sha3-384,sha3-512, shake-128, shake-256, keccak-224, keccak-256, keccak-384, keccak-512@multiformats/sha3multiformats/js-sha3
    identitymultiformats/hashes/identitymultiformats/js-multiformats
    murmur3-128, murmur3-32@multiformats/murmur3multiformats/js-murmur3
    blake2b-*, blake2s-*@multiformats/blake2multiformats/js-blake2
    +

    IPLD codecs (multicodec)

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    codecimportrepo
    rawmultiformats/codecs/rawmultiformats/js-multiformats
    jsonmultiformats/codecs/jsonmultiformats/js-multiformats
    dag-cbor@ipld/dag-cboripld/js-dag-cbor
    dag-json@ipld/dag-jsonipld/js-dag-json
    dag-pb@ipld/dag-pbipld/js-dag-pb
    dag-josedag-joseceramicnetwork/js-dag-jose
    +

    References

    Re-exports CID
    Re-exports MultihashHasher
    Re-exports bytes
    Renames and re-exports hashes/digest
    Renames and re-exports hashes/hasher

    Generated using TypeDoc

    \ No newline at end of file +

    References

    Re-exports BaseCodec
    Re-exports BaseDecoder
    Re-exports BaseEncoder
    Re-exports Block
    Re-exports BlockCodec
    Re-exports BlockCursorView
    Re-exports BlockDecoder
    Re-exports BlockEncoder
    Re-exports BlockView
    Re-exports ByteView
    Re-exports CID
    Re-exports CombobaseDecoder
    Re-exports DAG_PB
    Re-exports LegacyLink
    Re-exports Link
    Re-exports LinkJSON
    Re-exports Multibase
    Re-exports MultibaseCodec
    Re-exports MultibaseDecoder
    Re-exports MultibaseEncoder
    Re-exports MultihashDigest
    Re-exports MultihashHasher
    Re-exports Phantom
    Re-exports SHA_256
    Re-exports SyncMultihashHasher
    Re-exports ToString
    Re-exports UnibaseDecoder
    Re-exports UnknownLink
    Re-exports Version
    Re-exports bytes
    Renames and re-exports hashes/digest
    Renames and re-exports hashes/hasher

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/index.varint.html b/modules/index.varint.html index edc8ccb3..5c2f60af 100644 --- a/modules/index.varint.html +++ b/modules/index.varint.html @@ -1,4 +1,4 @@ -varint | multiformats

    Namespace varint

    Index

    Functions

    decode +varint | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/interface.html b/modules/interface.html new file mode 100644 index 00000000..44bfbfed --- /dev/null +++ b/modules/interface.html @@ -0,0 +1,29 @@ +interface | multiformats - v12.1.3

    Module interface

    References

    Re-exports BaseCodec
    Re-exports BaseDecoder
    Re-exports BaseEncoder
    Re-exports Block
    Re-exports BlockCodec
    Re-exports BlockCursorView
    Re-exports BlockDecoder
    Re-exports BlockEncoder
    Re-exports BlockView
    Re-exports ByteView
    Re-exports CombobaseDecoder
    Re-exports DAG_PB
    Re-exports LegacyLink
    Re-exports Link
    Re-exports LinkJSON
    Re-exports Multibase
    Re-exports MultibaseCodec
    Re-exports MultibaseDecoder
    Re-exports MultibaseEncoder
    Re-exports MultihashDigest
    Re-exports MultihashHasher
    Re-exports Phantom
    Re-exports SHA_256
    Re-exports SyncMultihashHasher
    Re-exports ToString
    Re-exports UnibaseDecoder
    Re-exports UnknownLink
    Re-exports Version

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/link.html b/modules/link.html index e6aa8452..be2dbff5 100644 --- a/modules/link.html +++ b/modules/link.html @@ -1,4 +1,4 @@ -link | multiformats

    Module link

    References

    ByteView +link | multiformats - v12.1.3

    Module link

    References

    References

    Re-exports ByteView
    Re-exports DAG_PB
    Re-exports LegacyLink
    Re-exports Link
    Re-exports LinkJSON
    Re-exports MultibaseDecoder
    Re-exports MultibaseEncoder
    Re-exports MultihashDigest
    Re-exports SHA_256
    Re-exports ToString
    Re-exports UnknownLink
    Re-exports Version
    Re-exports format
    Re-exports fromJSON
    Re-exports toJSON

    Generated using TypeDoc

    \ No newline at end of file +

    References

    Re-exports ByteView
    Re-exports DAG_PB
    Re-exports LegacyLink
    Re-exports Link
    Re-exports LinkJSON
    Re-exports MultibaseDecoder
    Re-exports MultibaseEncoder
    Re-exports MultihashDigest
    Re-exports SHA_256
    Re-exports ToString
    Re-exports UnknownLink
    Re-exports Version
    Re-exports format
    Re-exports fromJSON
    Re-exports toJSON

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/link_interface.html b/modules/link_interface.html new file mode 100644 index 00000000..8ff1aa32 --- /dev/null +++ b/modules/link_interface.html @@ -0,0 +1,13 @@ +link/interface | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/traversal.html b/modules/traversal.html index aadfaeae..0f9db2ba 100644 --- a/modules/traversal.html +++ b/modules/traversal.html @@ -1,4 +1,2 @@ -traversal | multiformats

    Generated using TypeDoc

    \ No newline at end of file +traversal | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/bases_interface.Multibase.html b/types/bases_interface.Multibase.html new file mode 100644 index 00000000..8edf587b --- /dev/null +++ b/types/bases_interface.Multibase.html @@ -0,0 +1,3 @@ +Multibase | multiformats - v12.1.3

    Type alias Multibase<Prefix>

    Multibase<Prefix>: string | string & {
        0: Prefix;
    }

    Multibase represents base encoded strings with a prefix first character +describing it's encoding.

    +

    Type Parameters

    • Prefix extends string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/block_interface.BlockCursorView.html b/types/block_interface.BlockCursorView.html new file mode 100644 index 00000000..917b642a --- /dev/null +++ b/types/block_interface.BlockCursorView.html @@ -0,0 +1 @@ +BlockCursorView | multiformats - v12.1.3

    Type alias BlockCursorView<T>

    BlockCursorView<T>: {
        remaining?: undefined;
        value: T;
    } | {
        remaining: string;
        value: CID;
    }

    Type Parameters

    • T = unknown

    Type declaration

    • Optional remaining?: undefined
    • value: T

    Type declaration

    • remaining: string
    • value: CID

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/codecs_json.ByteView.html b/types/codecs_json.ByteView.html deleted file mode 100644 index 86cd2e1b..00000000 --- a/types/codecs_json.ByteView.html +++ /dev/null @@ -1 +0,0 @@ -ByteView | multiformats

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/codecs_raw.ByteView.html b/types/codecs_raw.ByteView.html deleted file mode 100644 index 3dd2c778..00000000 --- a/types/codecs_raw.ByteView.html +++ /dev/null @@ -1 +0,0 @@ -ByteView | multiformats

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/hashes_digest.MultihashDigest.html b/types/hashes_digest.MultihashDigest.html deleted file mode 100644 index 303bb118..00000000 --- a/types/hashes_digest.MultihashDigest.html +++ /dev/null @@ -1 +0,0 @@ -MultihashDigest | multiformats

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/hashes_hasher.Await.html b/types/hashes_hasher.Await.html deleted file mode 100644 index 8c307231..00000000 --- a/types/hashes_hasher.Await.html +++ /dev/null @@ -1 +0,0 @@ -Await | multiformats

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/index.BlockCursorView.html b/types/index.BlockCursorView.html deleted file mode 100644 index bb01b462..00000000 --- a/types/index.BlockCursorView.html +++ /dev/null @@ -1 +0,0 @@ -BlockCursorView | multiformats

    Type alias BlockCursorView<T>

    BlockCursorView<T>: {
        remaining?: undefined;
        value: T;
    } | {
        remaining: string;
        value: CID;
    }

    Type Parameters

    • T extends unknown = unknown

    Type declaration

    • Optional remaining?: undefined
    • value: T

    Type declaration

    • remaining: string
    • value: CID

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/index.DAG_PB.html b/types/index.DAG_PB.html deleted file mode 100644 index 8c098340..00000000 --- a/types/index.DAG_PB.html +++ /dev/null @@ -1 +0,0 @@ -DAG_PB | multiformats

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/index.Multibase.html b/types/index.Multibase.html deleted file mode 100644 index 37a47a20..00000000 --- a/types/index.Multibase.html +++ /dev/null @@ -1,3 +0,0 @@ -Multibase | multiformats

    Type alias Multibase<Prefix>

    Multibase<Prefix>: string | string & {
        0: Prefix;
    }

    Multibase represents base encoded strings with a prefix first character -describing it's encoding.

    -

    Type Parameters

    • Prefix extends string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/index.SHA_256.html b/types/index.SHA_256.html deleted file mode 100644 index cfd9f015..00000000 --- a/types/index.SHA_256.html +++ /dev/null @@ -1 +0,0 @@ -SHA_256 | multiformats

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/index.ToString.html b/types/index.ToString.html deleted file mode 100644 index 30545716..00000000 --- a/types/index.ToString.html +++ /dev/null @@ -1 +0,0 @@ -ToString | multiformats

    Type alias ToString<T, Prefix>

    ToString<T, Prefix>: Multibase<Prefix> & Phantom<T>

    Type Parameters

    • T

    • Prefix extends string = string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/index.UnknownLink.html b/types/index.UnknownLink.html deleted file mode 100644 index 2ceb8698..00000000 --- a/types/index.UnknownLink.html +++ /dev/null @@ -1 +0,0 @@ -UnknownLink | multiformats

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/index.Version.html b/types/index.Version.html deleted file mode 100644 index f8c8295c..00000000 --- a/types/index.Version.html +++ /dev/null @@ -1 +0,0 @@ -Version | multiformats

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/link_interface.DAG_PB.html b/types/link_interface.DAG_PB.html new file mode 100644 index 00000000..3b1d91ef --- /dev/null +++ b/types/link_interface.DAG_PB.html @@ -0,0 +1 @@ +DAG_PB | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/link_interface.SHA_256.html b/types/link_interface.SHA_256.html new file mode 100644 index 00000000..611052c9 --- /dev/null +++ b/types/link_interface.SHA_256.html @@ -0,0 +1 @@ +SHA_256 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/link_interface.ToString.html b/types/link_interface.ToString.html new file mode 100644 index 00000000..87bcd40e --- /dev/null +++ b/types/link_interface.ToString.html @@ -0,0 +1 @@ +ToString | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/link_interface.UnknownLink.html b/types/link_interface.UnknownLink.html new file mode 100644 index 00000000..1bcc1f0b --- /dev/null +++ b/types/link_interface.UnknownLink.html @@ -0,0 +1 @@ +UnknownLink | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/link_interface.Version.html b/types/link_interface.Version.html new file mode 100644 index 00000000..0c5e41cd --- /dev/null +++ b/types/link_interface.Version.html @@ -0,0 +1 @@ +Version | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/traversal.BlockView.html b/types/traversal.BlockView.html deleted file mode 100644 index 0113317d..00000000 --- a/types/traversal.BlockView.html +++ /dev/null @@ -1 +0,0 @@ -BlockView | multiformats

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/traversal.CID.html b/types/traversal.CID.html deleted file mode 100644 index c4ff8d60..00000000 --- a/types/traversal.CID.html +++ /dev/null @@ -1 +0,0 @@ -CID | multiformats

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base10.base10.html b/variables/bases_base10.base10.html index 3eb462f2..1d6bcdba 100644 --- a/variables/bases_base10.base10.html +++ b/variables/bases_base10.base10.html @@ -1 +1 @@ -base10 | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base10 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base16.base16.html b/variables/bases_base16.base16.html index 646e291b..14a6ee4f 100644 --- a/variables/bases_base16.base16.html +++ b/variables/bases_base16.base16.html @@ -1 +1 @@ -base16 | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base16 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base16.base16upper.html b/variables/bases_base16.base16upper.html index fdd76dd2..48880cb9 100644 --- a/variables/bases_base16.base16upper.html +++ b/variables/bases_base16.base16upper.html @@ -1 +1 @@ -base16upper | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base16upper | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base2.base2.html b/variables/bases_base2.base2.html index bd00790b..ab711997 100644 --- a/variables/bases_base2.base2.html +++ b/variables/bases_base2.base2.html @@ -1 +1 @@ -base2 | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base2 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base256emoji.base256emoji.html b/variables/bases_base256emoji.base256emoji.html index 2b090ba9..1e2bf592 100644 --- a/variables/bases_base256emoji.base256emoji.html +++ b/variables/bases_base256emoji.base256emoji.html @@ -1 +1 @@ -base256emoji | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base256emoji | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base32.base32.html b/variables/bases_base32.base32.html index db7d57de..797fdd95 100644 --- a/variables/bases_base32.base32.html +++ b/variables/bases_base32.base32.html @@ -1 +1 @@ -base32 | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base32 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base32.base32hex.html b/variables/bases_base32.base32hex.html index ac9c5cbb..3c16ab78 100644 --- a/variables/bases_base32.base32hex.html +++ b/variables/bases_base32.base32hex.html @@ -1 +1 @@ -base32hex | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base32hex | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base32.base32hexpad.html b/variables/bases_base32.base32hexpad.html index e3ec39f8..517f98f4 100644 --- a/variables/bases_base32.base32hexpad.html +++ b/variables/bases_base32.base32hexpad.html @@ -1 +1 @@ -base32hexpad | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base32hexpad | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base32.base32hexpadupper.html b/variables/bases_base32.base32hexpadupper.html index 81315d14..75dac9eb 100644 --- a/variables/bases_base32.base32hexpadupper.html +++ b/variables/bases_base32.base32hexpadupper.html @@ -1 +1 @@ -base32hexpadupper | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base32hexpadupper | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base32.base32hexupper.html b/variables/bases_base32.base32hexupper.html index 67f82ef3..719aeb60 100644 --- a/variables/bases_base32.base32hexupper.html +++ b/variables/bases_base32.base32hexupper.html @@ -1 +1 @@ -base32hexupper | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base32hexupper | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base32.base32pad.html b/variables/bases_base32.base32pad.html index 20e510ea..5920140b 100644 --- a/variables/bases_base32.base32pad.html +++ b/variables/bases_base32.base32pad.html @@ -1 +1 @@ -base32pad | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base32pad | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base32.base32padupper.html b/variables/bases_base32.base32padupper.html index fadac0fc..d67d3b79 100644 --- a/variables/bases_base32.base32padupper.html +++ b/variables/bases_base32.base32padupper.html @@ -1 +1 @@ -base32padupper | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base32padupper | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base32.base32upper.html b/variables/bases_base32.base32upper.html index cb89d778..5cae1dc9 100644 --- a/variables/bases_base32.base32upper.html +++ b/variables/bases_base32.base32upper.html @@ -1 +1 @@ -base32upper | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base32upper | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base32.base32z.html b/variables/bases_base32.base32z.html index 75f0db6c..cbf4ac3e 100644 --- a/variables/bases_base32.base32z.html +++ b/variables/bases_base32.base32z.html @@ -1 +1 @@ -base32z | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base32z | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base36.base36.html b/variables/bases_base36.base36.html index 401e3f49..afe87fc2 100644 --- a/variables/bases_base36.base36.html +++ b/variables/bases_base36.base36.html @@ -1 +1 @@ -base36 | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base36 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base36.base36upper.html b/variables/bases_base36.base36upper.html index 6d815dca..21b5d7eb 100644 --- a/variables/bases_base36.base36upper.html +++ b/variables/bases_base36.base36upper.html @@ -1 +1 @@ -base36upper | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base36upper | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base58.base58btc.html b/variables/bases_base58.base58btc.html index cc693c4d..924e98d2 100644 --- a/variables/bases_base58.base58btc.html +++ b/variables/bases_base58.base58btc.html @@ -1 +1 @@ -base58btc | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base58btc | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base58.base58flickr.html b/variables/bases_base58.base58flickr.html index 8e8b6fe7..7f5419e8 100644 --- a/variables/bases_base58.base58flickr.html +++ b/variables/bases_base58.base58flickr.html @@ -1 +1 @@ -base58flickr | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base58flickr | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base64.base64.html b/variables/bases_base64.base64.html index 8b2c2609..ff2ad0c2 100644 --- a/variables/bases_base64.base64.html +++ b/variables/bases_base64.base64.html @@ -1 +1 @@ -base64 | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base64 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base64.base64pad.html b/variables/bases_base64.base64pad.html index 90519800..698fc1ec 100644 --- a/variables/bases_base64.base64pad.html +++ b/variables/bases_base64.base64pad.html @@ -1 +1 @@ -base64pad | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base64pad | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base64.base64url.html b/variables/bases_base64.base64url.html index 6ec10b05..f13c2e2a 100644 --- a/variables/bases_base64.base64url.html +++ b/variables/bases_base64.base64url.html @@ -1 +1 @@ -base64url | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base64url | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base64.base64urlpad.html b/variables/bases_base64.base64urlpad.html index 95c605ac..f565c9fc 100644 --- a/variables/bases_base64.base64urlpad.html +++ b/variables/bases_base64.base64urlpad.html @@ -1 +1 @@ -base64urlpad | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base64urlpad | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_base8.base8.html b/variables/bases_base8.base8.html index 3d1f9db8..559755ab 100644 --- a/variables/bases_base8.base8.html +++ b/variables/bases_base8.base8.html @@ -1 +1 @@ -base8 | multiformats

    Generated using TypeDoc

    \ No newline at end of file +base8 | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/bases_identity.identity.html b/variables/bases_identity.identity.html index e3982a3d..6819ef5a 100644 --- a/variables/bases_identity.identity.html +++ b/variables/bases_identity.identity.html @@ -1 +1 @@ -identity | multiformats

    Generated using TypeDoc

    \ No newline at end of file +identity | multiformats - v12.1.3

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/basics.bases.html b/variables/basics.bases.html index 21aa11b3..e990d57b 100644 --- a/variables/basics.bases.html +++ b/variables/basics.bases.html @@ -1 +1 @@ -bases | multiformats

    Variable basesConst

    bases: {
        base10: any;
        base16: any;
        base16upper: any;
        base2: any;
        base256emoji: any;
        base32: any;
        base32hex: any;
        base32hexpad: any;
        base32hexpadupper: any;
        base32hexupper: any;
        base32pad: any;
        base32padupper: any;
        base32upper: any;
        base32z: any;
        base36: any;
        base36upper: any;
        base58btc: any;
        base58flickr: any;
        base64: any;
        base64pad: any;
        base64url: any;
        base64urlpad: any;
        base8: any;
        identity: any;
    } = ...

    Type declaration

      Generated using TypeDoc

      \ No newline at end of file +bases | multiformats - v12.1.3

      Variable basesConst

      bases: {
          base10: Codec<"base10", "9">;
          base16: Codec<"base16", "f">;
          base16upper: Codec<"base16upper", "F">;
          base2: Codec<"base2", "0">;
          base256emoji: Codec<"base256emoji", "🚀">;
          base32: Codec<"base32", "b">;
          base32hex: Codec<"base32hex", "v">;
          base32hexpad: Codec<"base32hexpad", "t">;
          base32hexpadupper: Codec<"base32hexpadupper", "T">;
          base32hexupper: Codec<"base32hexupper", "V">;
          base32pad: Codec<"base32pad", "c">;
          base32padupper: Codec<"base32padupper", "C">;
          base32upper: Codec<"base32upper", "B">;
          base32z: Codec<"base32z", "h">;
          base36: Codec<"base36", "k">;
          base36upper: Codec<"base36upper", "K">;
          base58btc: Codec<"base58btc", "z">;
          base58flickr: Codec<"base58flickr", "Z">;
          base64: Codec<"base64", "m">;
          base64pad: Codec<"base64pad", "M">;
          base64url: Codec<"base64url", "u">;
          base64urlpad: Codec<"base64urlpad", "U">;
          base8: Codec<"base8", "7">;
          identity: Codec<"identity", "\u0000">;
      } = ...

      Type declaration

      • base10: Codec<"base10", "9">
      • base16: Codec<"base16", "f">
      • base16upper: Codec<"base16upper", "F">
      • base2: Codec<"base2", "0">
      • base256emoji: Codec<"base256emoji", "🚀">
      • base32: Codec<"base32", "b">
      • base32hex: Codec<"base32hex", "v">
      • base32hexpad: Codec<"base32hexpad", "t">
      • base32hexpadupper: Codec<"base32hexpadupper", "T">
      • base32hexupper: Codec<"base32hexupper", "V">
      • base32pad: Codec<"base32pad", "c">
      • base32padupper: Codec<"base32padupper", "C">
      • base32upper: Codec<"base32upper", "B">
      • base32z: Codec<"base32z", "h">
      • base36: Codec<"base36", "k">
      • base36upper: Codec<"base36upper", "K">
      • base58btc: Codec<"base58btc", "z">
      • base58flickr: Codec<"base58flickr", "Z">
      • base64: Codec<"base64", "m">
      • base64pad: Codec<"base64pad", "M">
      • base64url: Codec<"base64url", "u">
      • base64urlpad: Codec<"base64urlpad", "U">
      • base8: Codec<"base8", "7">
      • identity: Codec<"identity", "\u0000">

      Generated using TypeDoc

      \ No newline at end of file diff --git a/variables/basics.codecs.html b/variables/basics.codecs.html index 709a91d2..e700b7f9 100644 --- a/variables/basics.codecs.html +++ b/variables/basics.codecs.html @@ -1 +1 @@ -codecs | multiformats

      Generated using TypeDoc

      \ No newline at end of file +codecs | multiformats - v12.1.3

      Generated using TypeDoc

      \ No newline at end of file diff --git a/variables/basics.hashes.html b/variables/basics.hashes.html index 42051397..1bb4fa84 100644 --- a/variables/basics.hashes.html +++ b/variables/basics.hashes.html @@ -1 +1 @@ -hashes | multiformats

      Variable hashesConst

      hashes: {
          identity: {
              code: number;
              digest: ((input) => Digest<0, number>);
              encode: ((input) => Uint8Array);
              name: string;
          };
          sha256: Hasher<"sha2-256", 18>;
          sha512: Hasher<"sha2-512", 19>;
      } = ...

      Type declaration

      Generated using TypeDoc

      \ No newline at end of file +hashes | multiformats - v12.1.3

      Variable hashesConst

      hashes: {
          identity: {
              code: number;
              digest: ((input) => Digest<typeof code, number>);
              encode: ((input) => Uint8Array);
              name: string;
          };
          sha256: Hasher<"sha2-256", 18>;
          sha512: Hasher<"sha2-512", 19>;
      } = ...

      Type declaration

      Generated using TypeDoc

      \ No newline at end of file diff --git a/variables/bytes.empty.html b/variables/bytes.empty.html index 9449bd56..3466c382 100644 --- a/variables/bytes.empty.html +++ b/variables/bytes.empty.html @@ -1 +1 @@ -empty | multiformats

      Generated using TypeDoc

      \ No newline at end of file +empty | multiformats - v12.1.3

      Generated using TypeDoc

      \ No newline at end of file diff --git a/variables/codecs_json.code.html b/variables/codecs_json.code.html index a2635bc5..bb300e81 100644 --- a/variables/codecs_json.code.html +++ b/variables/codecs_json.code.html @@ -1 +1 @@ -code | multiformats

      Generated using TypeDoc

      \ No newline at end of file +code | multiformats - v12.1.3

      Generated using TypeDoc

      \ No newline at end of file diff --git a/variables/codecs_json.name.html b/variables/codecs_json.name.html index c291c2a8..1b7cc3af 100644 --- a/variables/codecs_json.name.html +++ b/variables/codecs_json.name.html @@ -1 +1 @@ -name | multiformats

      Generated using TypeDoc

      \ No newline at end of file +name | multiformats - v12.1.3

      Generated using TypeDoc

      \ No newline at end of file diff --git a/variables/codecs_raw.code.html b/variables/codecs_raw.code.html index 3cd211b7..d4212097 100644 --- a/variables/codecs_raw.code.html +++ b/variables/codecs_raw.code.html @@ -1 +1 @@ -code | multiformats

      Generated using TypeDoc

      \ No newline at end of file +code | multiformats - v12.1.3

      Generated using TypeDoc

      \ No newline at end of file diff --git a/variables/codecs_raw.name.html b/variables/codecs_raw.name.html index a40f23a5..90f95c00 100644 --- a/variables/codecs_raw.name.html +++ b/variables/codecs_raw.name.html @@ -1 +1 @@ -name | multiformats

      Generated using TypeDoc

      \ No newline at end of file +name | multiformats - v12.1.3

      Generated using TypeDoc

      \ No newline at end of file diff --git a/variables/hashes_identity.identity.html b/variables/hashes_identity.identity.html index d1e35b89..96ad5efe 100644 --- a/variables/hashes_identity.identity.html +++ b/variables/hashes_identity.identity.html @@ -1 +1 @@ -identity | multiformats
      identity: {
          code: number;
          digest: ((input) => Digest<0, number>);
          encode: ((input) => Uint8Array);
          name: string;
      } = ...

      Type declaration

      Generated using TypeDoc

      \ No newline at end of file +identity | multiformats - v12.1.3
      identity: {
          code: number;
          digest: ((input) => Digest<typeof code, number>);
          encode: ((input) => Uint8Array);
          name: string;
      } = ...

      Type declaration

      Generated using TypeDoc

      \ No newline at end of file diff --git a/variables/hashes_sha1.sha1.html b/variables/hashes_sha1.sha1.html index 35a6533a..dfd5112e 100644 --- a/variables/hashes_sha1.sha1.html +++ b/variables/hashes_sha1.sha1.html @@ -1 +1 @@ -sha1 | multiformats

      Generated using TypeDoc

      \ No newline at end of file +sha1 | multiformats - v12.1.3

      Generated using TypeDoc

      \ No newline at end of file diff --git a/variables/hashes_sha2.sha256.html b/variables/hashes_sha2.sha256.html index 5265e3c2..58e4cb3c 100644 --- a/variables/hashes_sha2.sha256.html +++ b/variables/hashes_sha2.sha256.html @@ -1 +1 @@ -sha256 | multiformats

      Generated using TypeDoc

      \ No newline at end of file +sha256 | multiformats - v12.1.3

      Generated using TypeDoc

      \ No newline at end of file diff --git a/variables/hashes_sha2.sha512.html b/variables/hashes_sha2.sha512.html index 5d15aee8..b05b72fc 100644 --- a/variables/hashes_sha2.sha512.html +++ b/variables/hashes_sha2.sha512.html @@ -1 +1 @@ -sha512 | multiformats

      Generated using TypeDoc

      \ No newline at end of file +sha512 | multiformats - v12.1.3

      Generated using TypeDoc

      \ No newline at end of file