Added only ASCII flag to ToHexdump
This commit is contained in:
1 parent
21a822b082
commit
53a579028c
2 files changed
+6
-2
No files matched your search
@@ -70,7 +70,7 @@ class ToHexdump extends Operation {
|
||||
|
||||
output += lineNo + " " +
|
||||
hexa.padEnd(length*(padding+1), " ") +
|
||||
" |" + Utils.printable(Utils.byteArrayToChars(buff)).padEnd(buff.length, " ") + "|\n";
|
||||
" |" + Utils.printable(Utils.byteArrayToChars(buff), false, true).padEnd(buff.length, " ") + "|\n";
|
||||
|
||||
if (includeFinalLength && i+buff.length === data.length) {
|
||||
output += Utils.hex(i+buff.length, 8) + "\n";
|
||||
|
||||
Reference in new issue
Block a user