Answer the question
In order to leave comments, you need to log in
How to convert byte code to text in Java?
Is it possible to somehow translate the byte code into text in Java, or let's say int into text according to its encoding?
Answer the question
In order to leave comments, you need to log in
It is possible, different decompilers.
If this bytecode was obtained from the android apk, then I can advise specific things.
Strange question, also int with its encoding. The first answer that comes to mind has already been answered, here's the second one. If we take binary code for "bytecode", and for "int to text according to its encoding" - converting a number into binary code and writing it to a text string, then:
Integer i = 42;
String s = Integer.toBinaryString(i);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question