diff --git a/formatting/libp2p.html b/formatting/libp2p.html index 5981ff7ea..168765671 100644 --- a/formatting/libp2p.html +++ b/formatting/libp2p.html @@ -260,7 +260,7 @@ class="link-seesrc" target="_blank">Source
diff --git a/formatting/libp2p/builders.html b/formatting/libp2p/builders.html index 291526ee3..c3e060349 100644 --- a/formatting/libp2p/builders.html +++ b/formatting/libp2p/builders.html @@ -402,12 +402,9 @@ class="link-seesrc" target="_blank">SourceThis module contains a Switch Building helper.
Example:
-let switch = - SwitchBuilder.new() - .withRng(rng) - .withAddresses(multiaddress) - # etc - .build()+
let switch = SwitchBuilder.new().withRng(rng).withAddresses(multiaddress) + # etc + .build()@@ -457,9 +454,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -470,9 +467,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -487,9 +484,9 @@ class="link-seesrc" target="_blank">Source Creates a SwitchBuilder Source - Edit + Edit @@ -509,9 +506,9 @@ class="link-seesrc" target="_blank">Source Helper for common switch configurations. Source - Edit + Edit @@ -523,9 +520,9 @@ class="link-seesrc" target="_blank">Source
Set the listening address of the switch
Calling it multiple time will override the value
Set the listening addresses of the switch
Calling it multiple time will override the value
Example:
-let switch = - SwitchBuilder.new() - .withTransport(proc(upgr: Upgrade): Transport = TcpTransport.new(flags, upgr)) +let switch = SwitchBuilder + .new() + .withTransport( + proc(upgr: Upgrade): Transport = + TcpTransport.new(flags, upgr) + ) .build()Source - Edit + Edit @@ -809,7 +809,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/connmanager.html b/formatting/libp2p/connmanager.html index 8fc6c134e..3b5e38037 100644 --- a/formatting/libp2p/connmanager.html +++ b/formatting/libp2p/connmanager.html @@ -397,9 +397,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -412,9 +412,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -432,9 +432,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -445,9 +445,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -458,9 +458,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -479,9 +479,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -499,9 +499,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -512,9 +512,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -525,9 +525,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -537,9 +537,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -554,9 +554,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -566,9 +566,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -584,9 +584,9 @@ class="link-seesrc" target="_blank">Source Add peer event handler - handlers must not raise exceptions! Source - Edit + Edit @@ -597,9 +597,9 @@ class="link-seesrc" target="_blank">Source Add peer event handler - handlers must not raise exceptions! Source - Edit + Edit @@ -610,9 +610,9 @@ class="link-seesrc" target="_blank">Source cleanup resources for the connection manager Source - Edit + Edit @@ -622,9 +622,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -634,9 +634,9 @@ class="link-seesrc" target="_blank">Source checks if a muxer is being tracked by the connection manager Source - Edit + Edit @@ -646,9 +646,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -659,9 +659,9 @@ class="link-seesrc" target="_blank">Source drop connections and cleanup resources for peer Source - Edit + Edit @@ -673,9 +673,9 @@ class="link-seesrc" target="_blank">Source Wait for a peer to connect to us. This will bypass the MaxConnectionsPerPeer Source - Edit + Edit @@ -686,9 +686,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -700,9 +700,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -713,9 +713,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -727,9 +727,9 @@ class="link-seesrc" target="_blank">Source get a muxed stream for the passed muxer Source - Edit + Edit @@ -741,9 +741,9 @@ class="link-seesrc" target="_blank">Source get a muxed stream for the passed peer from any connection Source - Edit + Edit @@ -755,9 +755,9 @@ class="link-seesrc" target="_blank">Source get a muxed stream for the passed peer from a connection with dir Source - Edit + Edit @@ -769,9 +769,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -781,9 +781,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -794,9 +794,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -807,9 +807,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -819,9 +819,9 @@ class="link-seesrc" target="_blank">Source Select a connection for the provided giving priority to outgoing connections Source - Edit + Edit @@ -832,9 +832,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -844,9 +844,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -858,9 +858,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -874,7 +874,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/chacha20poly1305.html b/formatting/libp2p/crypto/chacha20poly1305.html index 062c4e107..4bcbfcca5 100644 --- a/formatting/libp2p/crypto/chacha20poly1305.html +++ b/formatting/libp2p/crypto/chacha20poly1305.html @@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/crypto.html b/formatting/libp2p/crypto/crypto.html index 8575433ba..aa287b449 100644 --- a/formatting/libp2p/crypto/crypto.html +++ b/formatting/libp2p/crypto/crypto.html @@ -1621,7 +1621,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/curve25519.html b/formatting/libp2p/crypto/curve25519.html index 0257e1544..7484e0777 100644 --- a/formatting/libp2p/crypto/curve25519.html +++ b/formatting/libp2p/crypto/curve25519.html @@ -398,7 +398,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/ecnist.html b/formatting/libp2p/crypto/ecnist.html index 456cac312..50a59f7e3 100644 --- a/formatting/libp2p/crypto/ecnist.html +++ b/formatting/libp2p/crypto/ecnist.html @@ -1450,7 +1450,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/ed25519/constants.html b/formatting/libp2p/crypto/ed25519/constants.html index 8b9ea5520..2f6e5e9da 100644 --- a/formatting/libp2p/crypto/ed25519/constants.html +++ b/formatting/libp2p/crypto/ed25519/constants.html @@ -3040,7 +3040,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/ed25519/ed25519.html b/formatting/libp2p/crypto/ed25519/ed25519.html index e1a5e761b..db2dc2e70 100644 --- a/formatting/libp2p/crypto/ed25519/ed25519.html +++ b/formatting/libp2p/crypto/ed25519/ed25519.html @@ -940,7 +940,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/hkdf.html b/formatting/libp2p/crypto/hkdf.html index 63a79b230..96269f934 100644 --- a/formatting/libp2p/crypto/hkdf.html +++ b/formatting/libp2p/crypto/hkdf.html @@ -275,7 +275,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/minasn1.html b/formatting/libp2p/crypto/minasn1.html index 0da1c6d1b..ebdd95209 100644 --- a/formatting/libp2p/crypto/minasn1.html +++ b/formatting/libp2p/crypto/minasn1.html @@ -1195,7 +1195,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/rsa.html b/formatting/libp2p/crypto/rsa.html index f3731f278..e14439e35 100644 --- a/formatting/libp2p/crypto/rsa.html +++ b/formatting/libp2p/crypto/rsa.html @@ -1029,7 +1029,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/secp.html b/formatting/libp2p/crypto/secp.html index 585257e42..9d5fbba90 100644 --- a/formatting/libp2p/crypto/secp.html +++ b/formatting/libp2p/crypto/secp.html @@ -908,7 +908,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/dial.html b/formatting/libp2p/dial.html index 48b3a25d1..a33b3cb40 100644 --- a/formatting/libp2p/dial.html +++ b/formatting/libp2p/dial.html @@ -275,9 +275,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -293,9 +293,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -307,9 +307,9 @@ class="link-seesrc" target="_blank">Source Connects to a peer and retrieve its PeerId Source - Edit + Edit @@ -322,9 +322,9 @@ class="link-seesrc" target="_blank">Source connect remote peer without negotiating a protocol Source - Edit + Edit @@ -337,9 +337,9 @@ class="link-seesrc" target="_blank">Source create a protocol stream and establish a connection if one doesn't exist already Source - Edit + Edit @@ -351,9 +351,9 @@ class="link-seesrc" target="_blank">Source create a protocol stream over an existing connection Source - Edit + Edit @@ -365,9 +365,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -381,7 +381,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/dialer.html b/formatting/libp2p/dialer.html index b563567de..6124da43d 100644 --- a/formatting/libp2p/dialer.html +++ b/formatting/libp2p/dialer.html @@ -313,9 +313,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -325,9 +325,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -344,9 +344,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -361,9 +361,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -374,9 +374,9 @@ class="link-seesrc" target="_blank">Source Connects to a peer and retrieve its PeerId Source - Edit + Edit @@ -388,9 +388,9 @@ class="link-seesrc" target="_blank">Source connect remote peer without negotiating a protocol Source - Edit + Edit @@ -402,9 +402,9 @@ class="link-seesrc" target="_blank">Source create a protocol stream and establish a connection if one doesn't exist already Source - Edit + Edit @@ -415,9 +415,9 @@ class="link-seesrc" target="_blank">Source create a protocol stream over an existing connection Source - Edit + Edit @@ -429,9 +429,9 @@ class="link-seesrc" target="_blank">Source Create a protocol stream in order to check if a connection is possible. Doesn't use the Connection Manager to save it. Source - Edit + Edit @@ -450,7 +450,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/errors.html b/formatting/libp2p/errors.html index 585d897e4..671797700 100644 --- a/formatting/libp2p/errors.html +++ b/formatting/libp2p/errors.html @@ -312,7 +312,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/multiaddress.html b/formatting/libp2p/multiaddress.html index 3cf08e24a..52e70bd52 100644 --- a/formatting/libp2p/multiaddress.html +++ b/formatting/libp2p/multiaddress.html @@ -920,9 +920,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -932,9 +932,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -944,9 +944,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -957,9 +957,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -972,9 +972,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -988,9 +988,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1001,9 +1001,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1018,9 +1018,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1030,9 +1030,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1044,9 +1044,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1061,9 +1061,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1076,9 +1076,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1088,9 +1088,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1100,9 +1100,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1117,9 +1117,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1129,9 +1129,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1141,9 +1141,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1170,9 +1170,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1199,9 +1199,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1212,9 +1212,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1224,9 +1224,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1236,9 +1236,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1298,9 +1298,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1310,9 +1310,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1322,9 +1322,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1343,9 +1343,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1401,9 +1401,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1419,9 +1419,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1435,9 +1435,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1450,9 +1450,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1472,9 +1472,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1487,9 +1487,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1500,9 +1500,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1513,9 +1513,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1526,9 +1526,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1539,9 +1539,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1552,9 +1552,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1565,9 +1565,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1578,9 +1578,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1591,9 +1591,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1604,9 +1604,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1622,9 +1622,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1638,9 +1638,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1653,9 +1653,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1665,9 +1665,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1685,9 +1685,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1706,9 +1706,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1757,9 +1757,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1789,9 +1789,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1815,9 +1815,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1838,9 +1838,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1859,9 +1859,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1875,9 +1875,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1890,9 +1890,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1913,9 +1913,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1931,9 +1931,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1948,9 +1948,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -1965,9 +1965,9 @@ class="link-seesrc" target="_blank">Source Return pattern pat as string. Source - Edit + Edit @@ -1977,9 +1977,9 @@ class="link-seesrc" target="_blank">Source Return string representation of MultiAddress value. Source - Edit + Edit @@ -1992,9 +1992,9 @@ class="link-seesrc" target="_blank">SourceThis procedure performs validation of concatenated result and can raise exception on error.
Source - Edit + Edit @@ -2007,9 +2007,9 @@ class="link-seesrc" target="_blank">SourceThis procedure performs validation of concatenated result and can raise exception on error.
Source - Edit + Edit @@ -2020,9 +2020,9 @@ class="link-seesrc" target="_blank">Source Check of two MultiAddress are equal Source - Edit + Edit @@ -2033,9 +2033,9 @@ class="link-seesrc" target="_blank">Source Returns partial MultiAddress with MultiCodec codec and present in MultiAddress ma. Source - Edit + Edit @@ -2046,9 +2046,9 @@ class="link-seesrc" target="_blank">Source Returns part with index i of MultiAddress ma. Source - Edit + Edit @@ -2059,9 +2059,9 @@ class="link-seesrc" target="_blank">Source Returns parts with slice slice of MultiAddress ma. Source - Edit + Edit @@ -2072,9 +2072,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -2084,9 +2084,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -2097,9 +2097,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -2110,9 +2110,9 @@ class="link-seesrc" target="_blank">Source Returns true, if address with MultiCodec codec present in MultiAddress ma. Source - Edit + Edit @@ -2122,9 +2122,9 @@ class="link-seesrc" target="_blank">Source Returns the data buffer of the MultiAddress. Source - Edit + Edit @@ -2135,9 +2135,9 @@ class="link-seesrc" target="_blank">Source Get MultiBase encoded representation of ma using encoding encoding. Source - Edit + Edit @@ -2148,9 +2148,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -2162,9 +2162,9 @@ class="link-seesrc" target="_blank">Source Read repeated field from protobuf message. field is field number. If the message is malformed, an error is returned. If field is not present in message, then ok(false) is returned and value is empty. If field is present, but no items could be parsed, then err(ProtoError.IncorrectBlob) is returned and value is empty. If field is present and some item could be parsed, then true is returned and value contains the parsed values. Source - Edit + Edit @@ -2174,9 +2174,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -2186,9 +2186,9 @@ class="link-seesrc" target="_blank">Source Return hexadecimal string representation of MultiAddress value. Source - Edit + Edit @@ -2198,9 +2198,9 @@ class="link-seesrc" target="_blank">Source Initialize empty MultiAddress. Source - Edit + Edit @@ -2212,9 +2212,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -2225,9 +2225,9 @@ class="link-seesrc" target="_blank">Source Initialize MultiAddress using chronos.TransportAddress (IPv4/IPv6/Unix) and protocol information (UDP/TCP). Source - Edit + Edit @@ -2238,9 +2238,9 @@ class="link-seesrc" target="_blank">Source Initialize MultiAddress with array of bytes data. Source - Edit + Edit @@ -2252,9 +2252,9 @@ class="link-seesrc" target="_blank">Source Initialize MultiAddress object from protocol id protocol and array of bytes value. Source - Edit + Edit @@ -2265,9 +2265,9 @@ class="link-seesrc" target="_blank">Source Initialize MultiAddress object from protocol id protocol and integer value. This procedure can be used to instantiate tcp, udp, dccp and sctp MultiAddresses. Source - Edit + Edit @@ -2278,9 +2278,9 @@ class="link-seesrc" target="_blank">Source Initialize MultiAddress object from protocol id protocol and peer id value. Source - Edit + Edit @@ -2291,9 +2291,9 @@ class="link-seesrc" target="_blank">Source Initialize MultiAddress object from string representation value. Source - Edit + Edit @@ -2303,9 +2303,9 @@ class="link-seesrc" target="_blank">Source Returns true, if MultiAddress ma is empty or non initialized. Source - Edit + Edit @@ -2315,9 +2315,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -2327,9 +2327,9 @@ class="link-seesrc" target="_blank">Source And operator for pattern Source - Edit + Edit @@ -2339,9 +2339,9 @@ class="link-seesrc" target="_blank">Source Equal operator for pattern Source - Edit + Edit @@ -2351,9 +2351,9 @@ class="link-seesrc" target="_blank">Source Or operator for pattern Source - Edit + Edit @@ -2364,9 +2364,9 @@ class="link-seesrc" target="_blank">Source Match full address using pattern pat and return true if address satisfies pattern. Source - Edit + Edit @@ -2377,9 +2377,9 @@ class="link-seesrc" target="_blank">Source Match prefix part of address using pattern pat and return true if address starts with pattern. Source - Edit + Edit @@ -2392,9 +2392,9 @@ class="link-seesrc" target="_blank">SourceIf current MultiAddress do not have argument value, then result array will be empty.
Source - Edit + Edit @@ -2407,9 +2407,9 @@ class="link-seesrc" target="_blank">SourceIf current MultiAddress do not have argument value, then result array will be empty.
Source - Edit + Edit @@ -2422,9 +2422,9 @@ class="link-seesrc" target="_blank">SourceIf current MultiAddress do not have argument value, then result will be 0.
Source - Edit + Edit @@ -2435,9 +2435,9 @@ class="link-seesrc" target="_blank">Source Returns MultiAddress ma protocol code. Source - Edit + Edit @@ -2448,9 +2448,9 @@ class="link-seesrc" target="_blank">Source Returns list of protocol codecs inside of MultiAddress value. Source - Edit + Edit @@ -2461,9 +2461,9 @@ class="link-seesrc" target="_blank">Source Returns MultiAddress ma protocol name. Source - Edit + Edit @@ -2474,9 +2474,9 @@ class="link-seesrc" target="_blank">Source Return string representation of MultiAddress value. Source - Edit + Edit @@ -2486,9 +2486,9 @@ class="link-seesrc" target="_blank">Source Returns true if MultiAddress ma is valid. Source - Edit + Edit @@ -2499,9 +2499,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -2512,9 +2512,9 @@ class="link-seesrc" target="_blank">Source Write MultiAddress value ma to buffer vb. Source - Edit + Edit @@ -2530,9 +2530,9 @@ class="link-seesrc" target="_blank">Source Iterates over all addresses inside of MultiAddress ma. Source - Edit + Edit @@ -2551,7 +2551,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/multibase.html b/formatting/libp2p/multibase.html index 59f33ce69..f7008bec6 100644 --- a/formatting/libp2p/multibase.html +++ b/formatting/libp2p/multibase.html @@ -271,9 +271,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -302,9 +302,9 @@ class="link-seesrc" target="_blank">Source Decode MultiBase encoded array inbytes and return decoded sequence of bytes. Source - Edit + Edit @@ -320,9 +320,9 @@ class="link-seesrc" target="_blank">SourceOn successfull decoding MultiBaseStatus.Success will be returned and outlen will be set to number of encoded octets (bytes).
Source - Edit + Edit @@ -333,9 +333,9 @@ class="link-seesrc" target="_blank">Source Return estimated size of buffer to store MultiBase decoded value with encoding character encoding of length length. Source - Edit + Edit @@ -346,9 +346,9 @@ class="link-seesrc" target="_blank">Source Encode array inbytes using MultiBase encoding scheme encoding and return encoded string. Source - Edit + Edit @@ -365,9 +365,9 @@ class="link-seesrc" target="_blank">SourceOn successfull encoding MultiBaseStatus.Success will be returned and outlen will be set to number of encoded octets (bytes).
Source - Edit + Edit @@ -380,9 +380,9 @@ class="link-seesrc" target="_blank">SourceProcedure returns -1 if encoding scheme is not supported or not present.
Source - Edit + Edit @@ -396,7 +396,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/multicodec.html b/formatting/libp2p/multicodec.html index 24e69af72..43fe0171e 100644 --- a/formatting/libp2p/multicodec.html +++ b/formatting/libp2p/multicodec.html @@ -292,9 +292,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -305,9 +305,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -322,9 +322,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -339,9 +339,9 @@ class="link-seesrc" target="_blank">Source Returns string representation of MultiCodec mc. Source - Edit + Edit @@ -351,9 +351,9 @@ class="link-seesrc" target="_blank">Source Returns true if MultiCodecs a and b are equal. Source - Edit + Edit @@ -363,9 +363,9 @@ class="link-seesrc" target="_blank">Source Compares MultiCodec mc with integer code. Source - Edit + Edit @@ -375,9 +375,9 @@ class="link-seesrc" target="_blank">Source Compares MultiCodec mc with string name. Source - Edit + Edit @@ -387,9 +387,9 @@ class="link-seesrc" target="_blank">Source Return MultiCodec from integer representation code. If code is not valid multicodec code, then InvalidMultiCodec will be returned. Source - Edit + Edit @@ -400,9 +400,9 @@ class="link-seesrc" target="_blank">Source Return MultiCodec from string representation name. If name is not valid multicodec name, then InvalidMultiCodec will be returned. Source - Edit + Edit @@ -412,9 +412,9 @@ class="link-seesrc" target="_blank">Source Hash procedure for tables. Source - Edit + Edit @@ -424,9 +424,9 @@ class="link-seesrc" target="_blank">Source Generate MultiCodec from integer code at compile time. Source - Edit + Edit @@ -436,9 +436,9 @@ class="link-seesrc" target="_blank">Source Generate MultiCodec from string name at compile time. Source - Edit + Edit @@ -448,9 +448,9 @@ class="link-seesrc" target="_blank">Source Write MultiCodec to buffer vb. Source - Edit + Edit @@ -464,7 +464,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/multihash.html b/formatting/libp2p/multihash.html index 3d5cacffc..b8c67395a 100644 --- a/formatting/libp2p/multihash.html +++ b/formatting/libp2p/multihash.html @@ -366,9 +366,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -391,9 +391,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -408,9 +408,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -442,9 +442,9 @@ class="link-seesrc" target="_blank">Source Return string representation of MultiHash value. Source - Edit + Edit @@ -454,9 +454,9 @@ class="link-seesrc" target="_blank">Source Compares MultiHashes a and b, returns true if hashes are equal, false otherwise. Source - Edit + Edit @@ -466,9 +466,9 @@ class="link-seesrc" target="_blank">Source Compares MultiHash with nimcrypto's MDigest[T], returns true if hashes are equal, false otherwise. Source - Edit + Edit @@ -478,9 +478,9 @@ class="link-seesrc" target="_blank">Source Compares MultiHash with nimcrypto's MDigest[T], returns true if hashes are equal, false otherwise. Source - Edit + Edit @@ -490,9 +490,9 @@ class="link-seesrc" target="_blank">Source Return Base58 encoded string representation of MultiHash value. Source - Edit + Edit @@ -506,9 +506,9 @@ class="link-seesrc" target="_blank">SourceOn error -1 will be returned.
Source - Edit + Edit @@ -519,9 +519,9 @@ class="link-seesrc" target="_blank">Source Perform digest calculation using hash algorithm with code hashcode on data array data. Source - Edit + Edit @@ -532,9 +532,9 @@ class="link-seesrc" target="_blank">Source Perform digest calculation using hash algorithm with name hashname on data array data. Source - Edit + Edit @@ -545,9 +545,9 @@ class="link-seesrc" target="_blank">Source Get MultiBase encoded representation of mh using encoding encoding. Source - Edit + Edit @@ -557,9 +557,9 @@ class="link-seesrc" target="_blank">Source Return hexadecimal string representation of MultiHash value. Source - Edit + Edit @@ -570,9 +570,9 @@ class="link-seesrc" target="_blank">Source Create MultiHash from bytes array data. Source - Edit + Edit @@ -583,9 +583,9 @@ class="link-seesrc" target="_blank">Source Create MultiHash from hexadecimal string representation data. Source - Edit + Edit @@ -596,9 +596,9 @@ class="link-seesrc" target="_blank">Source Create MultiHash from array of bytes bdigest and hash algorithm code hashcode. Source - Edit + Edit @@ -609,9 +609,9 @@ class="link-seesrc" target="_blank">Source Create MultiHash from array of bytes bdigest and hash algorithm code hashcode. Source - Edit + Edit @@ -622,9 +622,9 @@ class="link-seesrc" target="_blank">Source Create MultiHash from BASE58 encoded string representation data. Source - Edit + Edit @@ -635,9 +635,9 @@ class="link-seesrc" target="_blank">Source Create MultiHash from nimcrypto's MDigest and hash algorithm code hashcode. Source - Edit + Edit @@ -648,9 +648,9 @@ class="link-seesrc" target="_blank">Source Create MultiHash from nimcrypto's MDigest object and hash algorithm name hashname. Source - Edit + Edit @@ -661,9 +661,9 @@ class="link-seesrc" target="_blank">Source Returns true if array of bytes data has correct MultiHash inside. Source - Edit + Edit @@ -673,9 +673,9 @@ class="link-seesrc" target="_blank">Source Write MultiHash value mh to buffer vb. Source - Edit + Edit @@ -689,7 +689,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/multistream.html b/formatting/libp2p/multistream.html index 8ba74e5bc..4386bd1f1 100644 --- a/formatting/libp2p/multistream.html +++ b/formatting/libp2p/multistream.html @@ -331,9 +331,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -343,9 +343,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -355,9 +355,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -370,9 +370,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -388,9 +388,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -401,9 +401,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -415,9 +415,9 @@ class="link-seesrc" target="_blank">Source helper to allow registering pure handlers Source - Edit + Edit @@ -430,9 +430,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -444,9 +444,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -459,9 +459,9 @@ class="link-seesrc" target="_blank">Source list remote protos requests on connection Source - Edit + Edit @@ -471,9 +471,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -486,9 +486,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -501,9 +501,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -515,9 +515,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -529,9 +529,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -543,9 +543,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -559,7 +559,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/muxers/mplex/coder.html b/formatting/libp2p/muxers/mplex/coder.html index 13fbb9281..d1ab64b4d 100644 --- a/formatting/libp2p/muxers/mplex/coder.html +++ b/formatting/libp2p/muxers/mplex/coder.html @@ -399,7 +399,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/muxers/mplex/mplex.html b/formatting/libp2p/muxers/mplex/mplex.html index cc7275f5a..cc5c528db 100644 --- a/formatting/libp2p/muxers/mplex/mplex.html +++ b/formatting/libp2p/muxers/mplex/mplex.html @@ -455,7 +455,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/muxers/muxer.html b/formatting/libp2p/muxers/muxer.html index b80cd0b3c..74e478fdf 100644 --- a/formatting/libp2p/muxers/muxer.html +++ b/formatting/libp2p/muxers/muxer.html @@ -535,7 +535,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/muxers/yamux/yamux.html b/formatting/libp2p/muxers/yamux/yamux.html index a0cacdd6c..15731aec3 100644 --- a/formatting/libp2p/muxers/yamux/yamux.html +++ b/formatting/libp2p/muxers/yamux/yamux.html @@ -604,7 +604,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/nameresolving/nameresolver.html b/formatting/libp2p/nameresolving/nameresolver.html index ef7d9e1b9..bd2114f41 100644 --- a/formatting/libp2p/nameresolving/nameresolver.html +++ b/formatting/libp2p/nameresolving/nameresolver.html @@ -375,7 +375,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/observedaddrmanager.html b/formatting/libp2p/observedaddrmanager.html index dc4c5fd60..078cf1855 100644 --- a/formatting/libp2p/observedaddrmanager.html +++ b/formatting/libp2p/observedaddrmanager.html @@ -292,9 +292,9 @@ class="link-seesrc" target="_blank">Source Returns a string representation of the ObservedAddrManager. Source - Edit + Edit @@ -318,9 +318,9 @@ class="link-seesrc" target="_blank">Source Returns the most observed IP4/Port and IP6/Port address or an empty seq if the number of observations are less than minCount. Source - Edit + Edit @@ -331,9 +331,9 @@ class="link-seesrc" target="_blank">Source Replaces the first proto value of each listen address by the corresponding (matching the proto code) most observed value. If the most observed value is not available, the original MultiAddress is returned. Source - Edit + Edit @@ -344,9 +344,9 @@ class="link-seesrc" target="_blank">Source Creates a new ObservedAddrManager. Source - Edit + Edit @@ -360,7 +360,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/peerid.html b/formatting/libp2p/peerid.html index 407567323..afe4434ed 100644 --- a/formatting/libp2p/peerid.html +++ b/formatting/libp2p/peerid.html @@ -390,9 +390,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -407,9 +407,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -424,9 +424,9 @@ class="link-seesrc" target="_blank">Source Return base58 encoded pid representation. Source - Edit + Edit @@ -436,9 +436,9 @@ class="link-seesrc" target="_blank">Source Compares two peer ids a and b. Returns:0 iff a == b
Source - Edit + Edit @@ -451,9 +451,9 @@ class="link-seesrc" target="_blank">Source
< 0 iff a < b
> 0 iff a > bReturns false otherwise.
Source - Edit + Edit @@ -464,9 +464,9 @@ class="link-seesrc" target="_blank">Source Read PeerId from ProtoBuf's message and validate it Source - Edit + Edit @@ -476,9 +476,9 @@ class="link-seesrc" target="_blank">Source Returns true if pid is small enough to hold public key inside. Source - Edit + Edit @@ -488,9 +488,9 @@ class="link-seesrc" target="_blank">Source Returns hexadecimal string representation of pid. Source - Edit + Edit @@ -503,9 +503,9 @@ class="link-seesrc" target="_blank">SourceReturns true if peer was successfully initialiazed.
Source - Edit + Edit @@ -517,9 +517,9 @@ class="link-seesrc" target="_blank">SourceReturns true if peer was successfully initialiazed.
Source - Edit + Edit @@ -530,9 +530,9 @@ class="link-seesrc" target="_blank">Source Create new peer id from raw binary representation data. Source - Edit + Edit @@ -543,9 +543,9 @@ class="link-seesrc" target="_blank">Source Create new peer id from base58 encoded string representation data. Source - Edit + Edit @@ -556,9 +556,9 @@ class="link-seesrc" target="_blank">Source Create new peer id from public key pubkey. Source - Edit + Edit @@ -569,9 +569,9 @@ class="link-seesrc" target="_blank">Source Create new peer id from private key seckey. Source - Edit + Edit @@ -582,9 +582,9 @@ class="link-seesrc" target="_blank">Source Returns true if pid matches public key pubkey. Source - Edit + Edit @@ -595,9 +595,9 @@ class="link-seesrc" target="_blank">Source Returns true if pid matches private key seckey. Source - Edit + Edit @@ -608,9 +608,9 @@ class="link-seesrc" target="_blank">Source Create new peer id with random public key. Source - Edit + Edit @@ -620,9 +620,9 @@ class="link-seesrc" target="_blank">Source Returns compact string representation of pid. Source - Edit + Edit @@ -635,9 +635,9 @@ class="link-seesrc" target="_blank">SourceReturns number of bytes needed to store pid.
Source - Edit + Edit @@ -647,9 +647,9 @@ class="link-seesrc" target="_blank">Source Validate check if pid is empty or not. Source - Edit + Edit @@ -660,9 +660,9 @@ class="link-seesrc" target="_blank">Source Write PeerId value peerid to object pb using ProtoBuf's encoding. Source - Edit + Edit @@ -672,9 +672,9 @@ class="link-seesrc" target="_blank">Source Write PeerId value peerid to buffer vb. Source - Edit + Edit @@ -688,18 +688,6 @@ class="link-seesrc" target="_blank">Source
template `<`(a, b: PeerId): bool
template `>=`(a, b: PeerId): bool
template formatItIMPL(it: PeerId): auto
template getBytes(pid: PeerId): seq[byte]
template hash(pid: PeerId): Hash
template `==`(a, b: PeerId): bool
template formatItIMPL(it: PeerId): auto
The handler should not raise.
Source - Edit + Edit @@ -465,9 +465,9 @@ class="link-seesrc" target="_blank">SourceThe handler should not raise.
Source - Edit + Edit @@ -478,9 +478,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -491,9 +491,9 @@ class="link-seesrc" target="_blank">Source Connected to a peer and open a stream with the specified proto Source - Edit + Edit @@ -504,9 +504,9 @@ class="link-seesrc" target="_blank">Source Open a stream to a connected peer with the specified proto Source - Edit + Edit @@ -517,9 +517,9 @@ class="link-seesrc" target="_blank">Source Disconnect from a peer, waiting for the connection(s) to be dropped Source - Edit + Edit @@ -529,9 +529,9 @@ class="link-seesrc" target="_blank">Source returns true if the peer has one or more associated connections Source - Edit + Edit @@ -542,9 +542,9 @@ class="link-seesrc" target="_blank">Source mount a protocol to the switch Source - Edit + Edit @@ -558,9 +558,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -572,9 +572,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -586,9 +586,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -600,9 +600,9 @@ class="link-seesrc" target="_blank">Source Start listening on every transport Source - Edit + Edit @@ -614,9 +614,9 @@ class="link-seesrc" target="_blank">Source Stop listening on every transport, and close every active connections Source - Edit + Edit @@ -631,9 +631,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -646,9 +646,9 @@ class="link-seesrc" target="_blank">SourceIf the P2P part is missing from the MA and allowUnknownPeerId is set to true, this will discover the PeerId while connecting. This exposes you to MiTM attacks, so it shouldn't be used without care!
Source - Edit + Edit @@ -660,9 +660,9 @@ class="link-seesrc" target="_blank">Source Connects to a peer without opening a stream to it Source - Edit + Edit @@ -674,9 +674,9 @@ class="link-seesrc" target="_blank">Source Connected to a peer and open a stream with the specified protos Source - Edit + Edit @@ -687,9 +687,9 @@ class="link-seesrc" target="_blank">Source Open a stream to a connected peer with the specified protos Source - Edit + Edit @@ -700,25 +700,25 @@ class="link-seesrc" target="_blank">Sourcemethod setup(self: Service; switch: Switch): Future[bool] {.base, - stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [], - tags: [RootEffect].}
method setup(self: Service; switch: Switch): Future[bool] {.base, + stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [], + tags: [RootEffect].}
Note: This is a template, and it will be inlined at the call site, offering good performance.
Source - Edit + Edit @@ -458,7 +458,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/utils/future.html b/formatting/libp2p/utils/future.html index fd431a4b6..b6eb6d00a 100644 --- a/formatting/libp2p/utils/future.html +++ b/formatting/libp2p/utils/future.html @@ -271,7 +271,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/utils/heartbeat.html b/formatting/libp2p/utils/heartbeat.html index 6147ff640..43b9a9af0 100644 --- a/formatting/libp2p/utils/heartbeat.html +++ b/formatting/libp2p/utils/heartbeat.html @@ -245,7 +245,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/utils/offsettedseq.html b/formatting/libp2p/utils/offsettedseq.html index 3c29843b3..ab6f37590 100644 --- a/formatting/libp2p/utils/offsettedseq.html +++ b/formatting/libp2p/utils/offsettedseq.html @@ -512,7 +512,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/utils/semaphore.html b/formatting/libp2p/utils/semaphore.html index 5dcdff585..dc26490d3 100644 --- a/formatting/libp2p/utils/semaphore.html +++ b/formatting/libp2p/utils/semaphore.html @@ -362,7 +362,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/varint.html b/formatting/libp2p/varint.html index bbe90493c..93ca6531c 100644 --- a/formatting/libp2p/varint.html +++ b/formatting/libp2p/varint.html @@ -337,9 +337,9 @@ class="link-seesrc" target="_blank">Source Signed integer types which will be encoded using simple cast. Source - Edit + Edit @@ -349,9 +349,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -361,22 +361,21 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -386,9 +385,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -398,15 +397,14 @@ class="link-seesrc" target="_blank">Source Source - Edit + EditPB = object -
PB = object
PBSomeVarint = PBSomeUVarint | PBSomeSVarint | PBZigVarint
PBSomeVarint = PBSomeUVarint | PBSomeSVarint | PBZigVarint
Note, when decoding 10th byte of 64bit integer only 1 bit from byte will be decoded, all other bits will be ignored. When decoding 5th byte of 32bit integer only 4 bits from byte will be decoded, all other bits will be ignored.
Source - Edit + Edit @@ -615,9 +613,9 @@ class="link-seesrc" target="_blank">SourceLibP2P When decoding 5th byte of 32bit integer only 4 bits from byte will be decoded, all other bits will be ignored.
Source - Edit + Edit @@ -629,9 +627,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -647,9 +645,9 @@ class="link-seesrc" target="_blank">SourceMaximum encoded length of 64bit integer is 10 octets. Maximum encoded length of 32bit integer is 5 octets.
Source - Edit + Edit @@ -666,9 +664,9 @@ class="link-seesrc" target="_blank">SourceLibP2P Maximum encoded length of 63bit integer is 9 octets. Maximum encoded length of 32bit integer is 5 octets.
Source - Edit + Edit @@ -680,9 +678,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -692,9 +690,9 @@ class="link-seesrc" target="_blank">Source Returns number of bytes required to encode integer x as varint. Source - Edit + Edit @@ -709,9 +707,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -725,7 +723,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/vbuffer.html b/formatting/libp2p/vbuffer.html index 3bddb78ff..e6e5cfd9d 100644 --- a/formatting/libp2p/vbuffer.html +++ b/formatting/libp2p/vbuffer.html @@ -348,9 +348,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -365,9 +365,9 @@ class="link-seesrc" target="_blank">Source Return hexadecimal string representation of buffer vb. Source - Edit + Edit @@ -377,9 +377,9 @@ class="link-seesrc" target="_blank">Source Finishes vb. Source - Edit + Edit @@ -389,9 +389,9 @@ class="link-seesrc" target="_blank">Source Returns number of bytes left in buffer vb. Source - Edit + Edit @@ -401,9 +401,9 @@ class="link-seesrc" target="_blank">Source Initialize empty VBuffer. Source - Edit + Edit @@ -414,9 +414,9 @@ class="link-seesrc" target="_blank">Source Initialize VBuffer with copy of data. Source - Edit + Edit @@ -426,9 +426,9 @@ class="link-seesrc" target="_blank">Source Initialize VBuffer with shallow copy of data. Source - Edit + Edit @@ -438,9 +438,9 @@ class="link-seesrc" target="_blank">Source Returns number of bytes left in buffer vb. Source - Edit + Edit @@ -470,9 +470,9 @@ class="link-seesrc" target="_blank">SourceReturns number of bytes peeked from vb or -1 on error.
Source - Edit + Edit @@ -485,9 +485,9 @@ class="link-seesrc" target="_blank">SourceReturns number of bytes peeked from vb or -1 on error.
Source - Edit + Edit @@ -500,9 +500,9 @@ class="link-seesrc" target="_blank">SourceReturns number of bytes consumed from vb or -1 on error.
Source - Edit + Edit @@ -515,9 +515,9 @@ class="link-seesrc" target="_blank">SourceReturns number of bytes consumed from vb or -1 on error.
Source - Edit + Edit @@ -530,9 +530,9 @@ class="link-seesrc" target="_blank">SourceReturns number of bytes consumed from vb or -1 on error.
Source - Edit + Edit @@ -543,9 +543,9 @@ class="link-seesrc" target="_blank">Source Write array value to buffer vb, value will NOT be prefixed with varint length of the array. Source - Edit + Edit @@ -555,9 +555,9 @@ class="link-seesrc" target="_blank">Source Write value as variable unsigned integer. Source - Edit + Edit @@ -567,9 +567,9 @@ class="link-seesrc" target="_blank">Source Write value as variable unsigned integer. Source - Edit + Edit @@ -579,9 +579,9 @@ class="link-seesrc" target="_blank">Source Write array value to buffer vb, value will be prefixed with varint length of the array. Source - Edit + Edit @@ -591,9 +591,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -608,9 +608,9 @@ class="link-seesrc" target="_blank">Source Returns true if buffer vb is empty. Source - Edit + Edit @@ -620,9 +620,9 @@ class="link-seesrc" target="_blank">Source Returns true if buffer vb holds at least length bytes. Source - Edit + Edit @@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/wire.html b/formatting/libp2p/wire.html index 2df96be14..c244e3d09 100644 --- a/formatting/libp2p/wire.html +++ b/formatting/libp2p/wire.html @@ -415,9 +415,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -464,9 +464,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -484,9 +484,9 @@ class="link-seesrc" target="_blank">SourceNote: This procedure only used in go-libp2p-daemon wrapper.
Source - Edit + Edit @@ -500,9 +500,9 @@ class="link-seesrc" target="_blank">Source Open new connection to remote peer with address ma and create new transport object StreamTransport for established connection. bufferSize is size of internal buffer for transport. Source - Edit + Edit @@ -516,9 +516,9 @@ class="link-seesrc" target="_blank">SourceNote: This procedure only used in go-libp2p-daemon wrapper.
Source - Edit + Edit @@ -535,9 +535,9 @@ class="link-seesrc" target="_blank">Source Create new TCP stream server which bounds to ma address. Source - Edit + Edit @@ -567,9 +567,9 @@ class="link-seesrc" target="_blank">SourceNote: This procedure only used in go-libp2p-daemon wrapper.
Source - Edit + Edit @@ -582,9 +582,9 @@ class="link-seesrc" target="_blank">SourceMultiAddress must be wire address, e.g. {IP4, IP6, UNIX}/{TCP, UDP}.
Source - Edit + Edit @@ -594,9 +594,9 @@ class="link-seesrc" target="_blank">Source Source - Edit + Edit @@ -615,7 +615,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/theindex.html b/formatting/theindex.html index 47237a9d5..a48dc158e 100644 --- a/formatting/theindex.html +++ b/formatting/theindex.html @@ -5436,7 +5436,7 @@ window.addEventListener('DOMContentLoaded', main);