Hex 0xff does not appear to be visible; adjusting for it.
This commit is contained in:
parent
e4c9c60bfa
commit
cd5d7ac142
|
@ -48,7 +48,7 @@ public class HexDumper {
|
|||
char ch = ' ';
|
||||
if (i < data.length) {
|
||||
byte b = data[i];
|
||||
ch = (b >= ' ') ? (char)b : '.';
|
||||
ch = (b >= ' ' && Byte.toUnsignedInt(b) != 0xff) ? (char)b : '.';
|
||||
}
|
||||
ps.printf("%c", ch);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue