Skip to content

Commit 4bc7070

Browse files
authored
Rectify issues in BitConverter (dotnet#9778)
1 parent 394571c commit 4bc7070

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System/BitConverter.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
102102
Because the return value of some methods depends on system architecture, be careful when transmitting byte data beyond machine boundaries:
103103
104-
- If all systems sending and receiving data are guaranteed to have the same endianness, nothing has be done to the data.
104+
- If all systems sending and receiving data are guaranteed to have the same endianness, nothing has to be done to the data.
105105
106106
- If systems sending and receiving data can have different endianness, always transmit data in a particular order. This means that the order of bytes in the array may have to be reversed either before sending them or after receiving them. A common convention is to transmit data in network byte order (big-endian order). The following example provides an implementation for sending an integer value in network byte order.
107107
@@ -1898,7 +1898,7 @@
18981898
<Docs>
18991899
<param name="value">An array of bytes that includes the two bytes to convert.</param>
19001900
<param name="startIndex">The starting position within <paramref name="value" />.</param>
1901-
<summary>Returns a laft-precision floating point number converted from two bytes at a specified position in a byte array.</summary>
1901+
<summary>Returns a half-precision floating point number converted from two bytes at a specified position in a byte array.</summary>
19021902
<returns>A half-precision floating point number formed by two bytes beginning at <paramref name="startIndex" />.</returns>
19031903
<remarks>To be added.</remarks>
19041904
<exception cref="T:System.ArgumentException">

0 commit comments

Comments
 (0)