Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ziadoz committed Jun 14, 2024
1 parent a1be255 commit 54fbe94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/modules/utf8.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function charToBytes(char) {
}

export function byteToBin(byte) {
return parseInt(byte).toString(2).padStart(8, '0'); // Ensure 8 bits for ASCII 7-bit ASCII characters.
return parseInt(byte).toString(2).padStart(8, '0'); // Ensure 8 bits for 7-bit ASCII characters.
}

export function binToHex(bin) {
Expand Down

0 comments on commit 54fbe94

Please sign in to comment.