From c6611a74c31c933f40d8eb8c4a8678642f98447a Mon Sep 17 00:00:00 2001 From: Federico Barresi Date: Fri, 27 Dec 2019 10:09:04 +0100 Subject: [PATCH] remove unused function for copy bytes from buffer --- Sharp7/S7.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Sharp7/S7.cs b/Sharp7/S7.cs index 46b3185..8dc70d4 100644 --- a/Sharp7/S7.cs +++ b/Sharp7/S7.cs @@ -20,13 +20,6 @@ namespace Sharp7 return (byte)(((value / 10) << 4) | (value % 10)); } - private static byte[] CopyFrom(byte[] buffer, int pos, int size) - { - byte[] result = new byte[size]; - Array.Copy(buffer, pos, result, 0, size); - return result; - } - public static int DataSizeByte(this int wordLength) { switch (wordLength)