You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -157,7 +157,7 @@ Examples of libraries for performing the above steps include the [Python idna](h
157
157
158
158
Encodes an IPv4 address according to the conventional [dot-decimal notation](https://en.wikipedia.org/wiki/Dot-decimal_notation) first specificed in [RFC 3986 section 3.2.2 page 20 § 2](https://tools.ietf.org/html/rfc3986#page-20).
159
159
160
-
Protocols using this codec may encode it as binary value of exactly 4 bytes without
160
+
Protocols using this codec must encode it as binary value of exactly 4 bytes without
161
161
an extra length value.
162
162
163
163
* String → Binary:
@@ -189,7 +189,7 @@ to string address transformation.
189
189
190
190
Encodes an IPv6 address according to the rules of [RFC 4291 section 2.2](https://tools.ietf.org/html/rfc4291#section-2.2) and [RFC 5962 section 4](https://tools.ietf.org/html/rfc5952#section-4).
191
191
192
-
Protocols using this codec may encode it as binary value of exactly 16 bytes without
192
+
Protocols using this codec must encode it as binary value of exactly 16 bytes without
193
193
an extra length value.
194
194
195
195
* String → Binary:
@@ -209,7 +209,7 @@ may be a viable alternative for some environments.
209
209
210
210
Encodes a [TOR rendezvous version 2 service pointer](https://gitweb.torproject.org/torspec.git/tree/rend-spec-v2.txt?id=471af27b55ff3894551109b45848f2ce1002441b#n525) (aka .onion-address) and exposed service port on that system.
211
211
212
-
Protocols using this codec may encode it as binary value of exactly 12 bytes without
212
+
Protocols using this codec must encode it as binary value of exactly 12 bytes without
213
213
an extra length value.
214
214
215
215
* String → Binary:
@@ -242,7 +242,7 @@ TBD: Is this really always a base58btc encoded string of at least 5 characters i
242
242
Encodes an unsigned 16-bit integer value (such as a port number) in network byte
243
243
order (big endian).
244
244
245
-
Protocols using this codec may encode it as binary value of exactly 2 bytes without
245
+
Protocols using this codec must encode it as binary value of exactly 2 bytes without
0 commit comments