Fixed toBinary delim adjustment

This commit is contained in:
n1474335 committed 2022-06-03 13:15:18 +01:00
1 parent 36e66ad5b4
commit c330394ff2
1 file changed
-4
-4
View File
@@ -45,10 +45,6 @@ export function toBinary(data, delim="Space", padding=8) {
} else { } else {
return ""; return "";
} }
if (delim.length) {
// Remove the delimiter from the end of the string.
output = output.slice(0, -delim.length);
}
return output; return output;
} }