Skip to content

Commit 1c7f208

Browse files
authored
Mention endiannes of the resulting array in GetAddressBytes (#8499)
1 parent 26cfd3f commit 1c7f208

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Net/IPAddress.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@
696696
</ReturnValue>
697697
<Parameters />
698698
<Docs>
699-
<summary>Provides a copy of the <see cref="T:System.Net.IPAddress" /> as an array of bytes.</summary>
699+
<summary>Provides a copy of the <see cref="T:System.Net.IPAddress" /> as an array of bytes in network order.</summary>
700700
<returns>A <see cref="T:System.Byte" /> array.</returns>
701701
<remarks>
702702
<format type="text/markdown"><![CDATA[
@@ -2356,7 +2356,7 @@
23562356
<Docs>
23572357
<param name="destination">When this method returns, the IP address as a span of bytes.</param>
23582358
<param name="bytesWritten">When this method returns, the number of bytes written into the span.</param>
2359-
<summary>Tries to write the current IP address into a span of bytes.</summary>
2359+
<summary>Tries to write the current IP address into a span of bytes in network order.</summary>
23602360
<returns>
23612361
<see langword="true" /> if the IP address is successfully written to the given span; otherwise, <see langword="false" />.</returns>
23622362
<remarks>To be added.</remarks>

0 commit comments

Comments
 (0)