public static byte[] toBigEndianDword(final long value) {
    return new byte[] {
      (byte) ((value & 0xFF000000L) >>> 24),
      (byte) ((value & 0x00FF0000L) >>> 16),
      (byte) ((value & 0x0000FF00L) >>> 8),
      (byte) (value & 0x000000FFL)
    };
  }
Converts a list of bytes into a byte array.

@param list The list to convert.
@return The created byte array.
java/zylib/src/main/java/com/google/security/zynamics/zylib/general/ByteHelpers.java