Skip to content

Commit 4cb555b

Browse files
authored
Update README.md
1 parent a19e6ac commit 4cb555b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ Likewise, a stringified numeric representation may be desired. For this use the
7070
Possibly more useful, when dealing with IPv6, it isn't unreasonable to want to convert an IPv6 "compressed" address into its fullest form. This can be done with the `string ToUncompressedString(this IPAddress ipAddress)` extension.
7171

7272
```
73-
var address = IPAddress.Parse("1080::8:800:200C:417A");
74-
var result = address.ToUncompressedString(); // where result is equal to 1080:0000:0000:0000:0008:0800:200C:417A
73+
var address = IPAddress.Parse("1080::8:800:200C:417A");
74+
var result = address.ToUncompressedString(); // where result is equal to 1080:0000:0000:0000:0008:0800:200C:417A
7575
```
7676

7777
Other times it is useful to have the numeric representation of an IPAddress. This can be done both in signed `BigInteger ToBigInteger(this IPAddress ipAddress)` and unsigned `BigInteger ToUnsignedBigInteger(this IPAddress ipAddress)`
@@ -80,8 +80,8 @@ Other times it is useful to have the numeric representation of an IPAddress. Thi
8080
[RFC 1924](http://tools.ietf.org/html/rfc1924), an April Fool's Day joke, provides a manner in which to convert an IPv6 address in to a Ascii85/Base85 representation. If one is feeling particularity foolish it is possible to do this conversion via `string ToBase85String(this IPAddress ipAddress)`
8181

8282
```
83-
var address = IPAddress.Parse("1080::8:800:200C:417A");
84-
string result = address.ToBase85String(); // where result is equal to the string "4)+k&C#VzJ4br>0wv%Yp"
83+
var address = IPAddress.Parse("1080::8:800:200C:417A");
84+
string result = address.ToBase85String(); // where result is equal to the string "4)+k&C#VzJ4br>0wv%Yp"
8585
```
8686

8787

0 commit comments

Comments
 (0)