SyntaxFix
Write A Post
Hire A Developer
Questions
How about Arrays.toString(byteArray)?
Arrays.toString(byteArray)
Here's some compilable code:
byte[] byteArray = new byte[] { -1, -128, 1, 127 }; System.out.println(Arrays.toString(byteArray));
Output:
[-1, -128, 1, 127]
Why re-invent the wheel...