code: public static boolean equalsOrDie(byte[] expected, byte[] got) {
  
  		if (expected.length != got.length) {
  			throw new KriptonRuntimeException("Lengths did not match, expected length" + expected.length + "but got" + got.length);
  		}
  
  		for (int index = 0; index < expected.length; index++) {
  			if (expected[index] != got[index]) {
  				throw new KriptonRuntimeException("value at index did not match index" + index + "expected value" + expected[index] + "but got"+ got[index]);
  
  			}
  		}
  		return true;
  	}
docs: Checks to see if two arrays are equals.
  
  @param expected            expected array
  @param got            got array
  @return true if equal or throws exception if not.