cosmetics
This commit is contained in:
parent
d97de2c3ea
commit
569d62faa9
@ -103,8 +103,7 @@ fun ByteArray.toDumpLines(wide: Boolean = false): List<String> {
|
|||||||
while (from < max) {
|
while (from < max) {
|
||||||
val ch = this[from++].toInt()
|
val ch = this[from++].toInt()
|
||||||
when {
|
when {
|
||||||
ch == ' '.code -> b.append('\u25AD')
|
(ch >= ' '.code && ch < 127) -> b.append(ch.toChar())
|
||||||
(ch > ' '.code && ch < 127) -> b.append(ch.toChar())
|
|
||||||
else -> b.append('.')
|
else -> b.append('.')
|
||||||
}
|
}
|
||||||
if( (from % lineSize) == lineSize/2 )
|
if( (from % lineSize) == lineSize/2 )
|
||||||
|
Loading…
Reference in New Issue
Block a user