You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Returns a new <see cref="byte"/> array that is a slice of <paramref name="input"/> starting at <paramref name="offset"/>.
304
305
/// </summary>
@@ -314,6 +315,7 @@ public static byte[] ArraySlice(byte[] input, int offset, int length)
314
315
Array.Copy(input,offset,slice,0,slice.Length);
315
316
returnslice;
316
317
}
318
+
#endif
317
319
318
320
/// <summary>
319
321
/// Finds the next index of <paramref name="pattern"/> in <paramref name="data"/>, starting at index <paramref name="offset"/>.
@@ -324,19 +326,8 @@ public static byte[] ArraySlice(byte[] input, int offset, int length)
324
326
/// <returns>The offset of <paramref name="pattern"/> within <paramref name="data"/>, or <c>-1</c> if <paramref name="pattern"/> was not found.</returns>
0 commit comments