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