public static byte[] toBigEndianWord(final long value) {
    return new byte[] {(byte) ((value & 0xFF00L) >>> 8), (byte) (value & 0xFF)};
  }
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