diff --git a/goodbyeget/libp2p/protobuf/minprotobuf.html b/goodbyeget/libp2p/protobuf/minprotobuf.html index 084ec9211..752f1a33c 100644 --- a/goodbyeget/libp2p/protobuf/minprotobuf.html +++ b/goodbyeget/libp2p/protobuf/minprotobuf.html @@ -438,9 +438,9 @@ class="link-seesrc" target="_blank">Source Protobuf's message representation object   Source -  Edit +  Edit @@ -452,9 +452,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -482,9 +482,9 @@ class="link-seesrc" target="_blank">Source Protobuf's message field representation object   Source -  Edit +  Edit @@ -495,9 +495,9 @@ class="link-seesrc" target="_blank">Source Protobuf's field types enum   Source -  Edit +  Edit @@ -508,9 +508,9 @@ class="link-seesrc" target="_blank">Source Protobuf's encoding types   Source -  Edit +  Edit @@ -523,9 +523,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -535,9 +535,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -550,9 +550,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -567,9 +567,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -584,9 +584,9 @@ class="link-seesrc" target="_blank">Source Prepare protobuf's buffer pb for writing to stream.   Source -  Edit +  Edit @@ -597,9 +597,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -611,9 +611,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -624,9 +624,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -638,9 +638,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -651,9 +651,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -665,9 +665,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -678,9 +678,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -691,9 +691,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -704,9 +704,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -718,9 +718,9 @@ class="link-seesrc" target="_blank">Source Initialize ProtoBuffer with copy of data.   Source -  Edit +  Edit @@ -732,9 +732,9 @@ class="link-seesrc" target="_blank">Source Initialize ProtoBuffer with shallow copy of data.   Source -  Edit +  Edit @@ -745,9 +745,9 @@ class="link-seesrc" target="_blank">Source Initialize ProtoBuffer with new sequence of capacity cap.   Source -  Edit +  Edit @@ -757,9 +757,9 @@ class="link-seesrc" target="_blank">Source Returns number of bytes required to store protobuf's field field.   Source -  Edit +  Edit @@ -770,9 +770,9 @@ class="link-seesrc" target="_blank">Source Encode Protobuf's sub-message value and store it to protobuf's buffer pb with field number field.   Source -  Edit +  Edit @@ -783,9 +783,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -796,9 +796,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -809,9 +809,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -826,9 +826,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -837,42 +837,6 @@ class="link-seesrc" target="_blank">Source
-  Source -  Edit - -
- -
-
template getProtoHeader(field: ProtoField): uint64
-
- -Get protobuf's field header integer for field. -  Source -  Edit - -
-
-
-
template getProtoHeader(index: int; wire: ProtoFieldKind): uint64
-
- -Get protobuf's field header integer for index and wire. -  Source -  Edit - -
-
-
-
template getPtr(pb: ProtoBuffer): pointer
-
- -   Source @@ -880,20 +844,32 @@ class="link-seesrc" target="_blank">Source
-
-
template isEmpty(pb: ProtoBuffer): bool
+
+
template getProtoHeader(field: ProtoField): uint64
- +Get protobuf's field header integer for field.   Source -  Edit +  Edit
-
-
template isEnough(pb: ProtoBuffer; length: int): bool
+
+
template getProtoHeader(index: int; wire: ProtoFieldKind): uint64
+
+ +Get protobuf's field header integer for index and wire. +  Source +  Edit + +
+
+
+
template getPtr(pb: ProtoBuffer): pointer
@@ -904,8 +880,8 @@ class="link-seesrc" target="_blank">Source
-
-
template toOpenArray(pb: ProtoBuffer): untyped
+
+
template isEmpty(pb: ProtoBuffer): bool
@@ -914,6 +890,30 @@ href="https://github.com/status-im/nim-libp2p/tree/goodbyeget/libp2p/protobuf/mi class="link-seesrc" target="_blank">Source   Edit +
+
+
+
template isEnough(pb: ProtoBuffer; length: int): bool
+
+ + +  Source +  Edit + +
+
+
+
template toOpenArray(pb: ProtoBuffer): untyped
+
+ + +  Source +  Edit +
@@ -931,7 +931,7 @@ class="link-seesrc" target="_blank">Source
diff --git a/goodbyeget/libp2p/utility.html b/goodbyeget/libp2p/utility.html index cfd8fc9f6..96b4f79dc 100644 --- a/goodbyeget/libp2p/utility.html +++ b/goodbyeget/libp2p/utility.html @@ -283,9 +283,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit
@@ -295,9 +295,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -313,9 +313,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -330,9 +330,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -342,9 +342,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -354,9 +354,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -366,9 +366,9 @@ class="link-seesrc" target="_blank">Source Converts value from S to T iff value is guaranteed to be preserved.   Source -  Edit +  Edit @@ -378,9 +378,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -390,9 +390,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -402,9 +402,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -418,7 +418,7 @@ class="link-seesrc" target="_blank">Source diff --git a/goodbyeget/libp2p/varint.html b/goodbyeget/libp2p/varint.html index e22a15b96..99aefc317 100644 --- a/goodbyeget/libp2p/varint.html +++ b/goodbyeget/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,9 +361,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -374,9 +374,9 @@ class="link-seesrc" target="_blank">Source Use this type to specify LibP2P varint encoding   Source -  Edit +  Edit @@ -385,43 +385,6 @@ class="link-seesrc" target="_blank">Source
-  Source -  Edit - -
- -
-
LPSomeVarint = LPSomeUVarint
-
- - -  Source -  Edit - -
-
-
-
PB = object
-  
-
- -Use this type to specify Google ProtoBuf's varint encoding -  Source -  Edit - -
-
-
-
PBSomeSVarint = hint | hint64 | hint32
-
- -   Source @@ -429,32 +392,8 @@ class="link-seesrc" target="_blank">Source
-
-
PBSomeUVarint = uint | uint64 | uint32
-
- - -  Source -  Edit - -
-
-
-
PBSomeVarint = PBSomeUVarint | PBSomeSVarint | PBZigVarint
-
- - -  Source -  Edit - -
-
-
-
PBZigVarint = zint | zint64 | zint32
+
+
LPSomeVarint = LPSomeUVarint
@@ -463,6 +402,67 @@ href="https://github.com/status-im/nim-libp2p/tree/goodbyeget/libp2p/varint.nim# class="link-seesrc" target="_blank">Source   Edit +
+
+
+
PB = object
+  
+
+ +Use this type to specify Google ProtoBuf's varint encoding +  Source +  Edit + +
+
+
+
PBSomeSVarint = hint | hint64 | hint32
+
+ + +  Source +  Edit + +
+
+
+
PBSomeUVarint = uint | uint64 | uint32
+
+ + +  Source +  Edit + +
+
+
+
PBSomeVarint = PBSomeUVarint | PBSomeSVarint | PBZigVarint
+
+ + +  Source +  Edit + +
+
+
+
PBZigVarint = zint | zint64 | zint32
+
+ + +  Source +  Edit +
@@ -471,9 +471,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit
@@ -483,9 +483,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit
@@ -496,9 +496,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -508,9 +508,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -520,9 +520,9 @@ class="link-seesrc" target="_blank">Source Signed integer types which will be encoded using zigzag encoding.   Source -  Edit +  Edit @@ -532,9 +532,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -544,9 +544,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -562,9 +562,9 @@ class="link-seesrc" target="_blank">Source Encode integer to LibP2P unsigned varint and returns sequence of bytes as buffer.   Source -  Edit +  Edit @@ -575,9 +575,9 @@ class="link-seesrc" target="_blank">Source Encode integer to Google ProtoBuf's signed/unsigned varint and returns sequence of bytes as buffer.   Source -  Edit +  Edit @@ -595,9 +595,9 @@ class="link-seesrc" target="_blank">Source

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 +615,9 @@ class="link-seesrc" target="_blank">Source

LibP2P 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 +629,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -647,9 +647,9 @@ class="link-seesrc" target="_blank">Source

Maximum encoded length of 64bit integer is 10 octets. Maximum encoded length of 32bit integer is 5 octets.

  Source -  Edit +  Edit @@ -666,9 +666,9 @@ class="link-seesrc" target="_blank">Source

LibP2P Maximum encoded length of 63bit integer is 9 octets. Maximum encoded length of 32bit integer is 5 octets.

  Source -  Edit +  Edit @@ -680,9 +680,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -692,9 +692,9 @@ class="link-seesrc" target="_blank">Source Returns number of bytes required to encode integer x as varint.   Source -  Edit +  Edit @@ -709,9 +709,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -725,7 +725,7 @@ class="link-seesrc" target="_blank">Source