Skip to content

Commit 02509b3

Browse files
authored
Fixed typo in ToUint32 and ToUint64 description (#201)
***NO_CI***
1 parent 932573d commit 02509b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nanoFramework.CoreLibrary/System/BitConverter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public static extern bool IsLittleEndian
225225
public static extern ushort ToUInt16(byte[] value, int startIndex);
226226

227227
/// <summary>
228-
/// Returns a 32-bit unsigned integer converted from two bytes at a specified position in a byte array.
228+
/// Returns a 32-bit unsigned integer converted from four bytes at a specified position in a byte array.
229229
/// </summary>
230230
/// <param name="value">The array of bytes.</param>
231231
/// <param name="startIndex">The starting position within value.</param>
@@ -235,7 +235,7 @@ public static extern bool IsLittleEndian
235235
public static extern uint ToUInt32(byte[] value, int startIndex);
236236

237237
/// <summary>
238-
/// Returns a 64-bit unsigned integer converted from two bytes at a specified position in a byte array.
238+
/// Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a byte array.
239239
/// </summary>
240240
/// <param name="value">The array of bytes.</param>
241241
/// <param name="startIndex">The starting position within value.</param>

0 commit comments

Comments
 (0)