From c9dd9469183d95c6c2f4d01e3d6365ec57386a65 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Mon, 25 Apr 2022 18:43:46 +0200 Subject: Initial commit --- src/algorithmus/Utils.java | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 src/algorithmus/Utils.java (limited to 'src/algorithmus/Utils.java') diff --git a/src/algorithmus/Utils.java b/src/algorithmus/Utils.java new file mode 100755 index 0000000..6d1d7cf --- /dev/null +++ b/src/algorithmus/Utils.java @@ -0,0 +1,39 @@ +package algorithmus; + +import java.util.Arrays; + +public class Utils { + + public static byte[] crop(byte[] arr) { + for(int i = 0; i