From 6c78a50e49be3e9996f9f41e602fd1bab175ffe8 Mon Sep 17 00:00:00 2001
From: Conroy Bagpipe <22903809+cbagpipe@users.noreply.github.com>
Date: Thu, 12 Jan 2023 17:36:56 +1000
Subject: [PATCH] Fixed copy/paste typo in methods description
ToUint32 & ToUint64 comment says it converted from TWO bytes. Changed to "four" and "eight" respectively.
---
nanoFramework.CoreLibrary/System/BitConverter.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nanoFramework.CoreLibrary/System/BitConverter.cs b/nanoFramework.CoreLibrary/System/BitConverter.cs
index 9b480df9..8adec02d 100644
--- a/nanoFramework.CoreLibrary/System/BitConverter.cs
+++ b/nanoFramework.CoreLibrary/System/BitConverter.cs
@@ -225,7 +225,7 @@ public static extern bool IsLittleEndian
public static extern ushort ToUInt16(byte[] value, int startIndex);
///
- /// Returns a 32-bit unsigned integer converted from two bytes at a specified position in a byte array.
+ /// Returns a 32-bit unsigned integer converted from four bytes at a specified position in a byte array.
///
/// The array of bytes.
/// The starting position within value.
@@ -235,7 +235,7 @@ public static extern bool IsLittleEndian
public static extern uint ToUInt32(byte[] value, int startIndex);
///
- /// Returns a 64-bit unsigned integer converted from two bytes at a specified position in a byte array.
+ /// Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a byte array.
///
/// The array of bytes.
/// The starting position within value.