bytearray - How to print raw byte content from a byte[] array to stdout in Java? - Stack Overflow
Assuming your byte array is called buf: System.out.println(Arrays.toString(buf)) Edit: It sounds like what you really want to do is write your bytes to stdout, not print them. See http://docs.oracle.com/javase/6/docs/api/java/io/PrintStream.html for the d...