spacedHexdump property
String
spacedHexdump
Creates a spaced hexdump of the buffer
Warning: This does also include already read and unwritten sections
Example:
00 00 00 0b 48 65 6c 6c 6f 20 57 6f 72 6c 64
Implementation
String get spacedHexdump {
String string = "";
for (var i = 0; i < capacity(); i++) {
string += this[i].toRadixString(16).padLeft(2, "0") + " ";
}
return string.trimRight();
}