byte[] (final int size) { final ThreadLocalRandom rnd = ThreadLocalRandom.current(); final byte[] array = new byte[size]; for (int i = 0; i < array.length; i++) { array[i] = (byte)rnd.nextInt(Byte.MIN_VALUE, Byte.MAX_VALUE + 1); } return array; }