Je suis en train d'écrire un fichier ROM patcher et je suis venu à cela dans la documentation:comment ajouter plusieurs octets ensemble?
The next three bytes are the place in the destination file
(the file to be patched) where a change is to be made.
The two bytes following that are the length of the amount
of data to be changed.
Comment pourrais-je transformer ces trois et deux octets dans un seul numéro en java correctement?
Lire l'octet suivant, OU avec le résultat (votre temp var), puis décaler le résultat par 8 bits gauche, répétition. – mojuba
@mojuba - Ecrivez ceci comme l'une des réponses proposées à la question afin qu'elle puisse être acceptée par William s'il la trouve pour répondre à la question. – AndyPerfect
@mojuba Est-ce un OU normal ou un OU logique? aussi je le changerais en codant "<< 8" à droite? – William