Byte[] blah = MoveToFront.encode(ugh); for (Byte b : blah) { System.out.println(b.toString()); }